net.sourceforge.jiu.codecs

Class CodecMode


public final class CodecMode
extends java.lang.Object

This class is an enumeration type for the two modes that an image codec can be used in, LOAD and SAVE. These values are used as arguments in some of the methods of ImageCodec.
Author:
Marco Schmidt
Since:
0.7.0

Field Summary

static CodecMode
LOAD
Codec mode load, one of the two possible values of CodecMode.
static CodecMode
SAVE
Codec mode save, one of the two possible values of CodecMode.

Constructor Summary

CodecMode()

Field Details

LOAD

public static final CodecMode LOAD
Codec mode load, one of the two possible values of CodecMode. To be used with a codec to indicate that an image is to be read from a stream.

SAVE

public static final CodecMode SAVE
Codec mode save, one of the two possible values of CodecMode. To be used with a codec to indicate that an image is to be written to a stream.

Constructor Details

CodecMode

private CodecMode()