Enum CODEC_FORMAT
- java.lang.Object
-
- java.lang.Enum<CODEC_FORMAT>
-
- de.digitalcollections.openjpeg.lib.enums.CODEC_FORMAT
-
- All Implemented Interfaces:
Serializable
,Comparable<CODEC_FORMAT>
,jnr.ffi.util.EnumMapper.IntegerEnum
public enum CODEC_FORMAT extends Enum<CODEC_FORMAT> implements jnr.ffi.util.EnumMapper.IntegerEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OPJ_CODEC_J2K
OPJ_CODEC_JP2
OPJ_CODEC_JPP
OPJ_CODEC_JPT
OPJ_CODEC_JPX
OPJ_CODEC_UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
intValue()
static CODEC_FORMAT
valueOf(String name)
Returns the enum constant of this type with the specified name.static CODEC_FORMAT[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPJ_CODEC_UNKNOWN
public static final CODEC_FORMAT OPJ_CODEC_UNKNOWN
-
OPJ_CODEC_J2K
public static final CODEC_FORMAT OPJ_CODEC_J2K
-
OPJ_CODEC_JPT
public static final CODEC_FORMAT OPJ_CODEC_JPT
-
OPJ_CODEC_JP2
public static final CODEC_FORMAT OPJ_CODEC_JP2
-
OPJ_CODEC_JPP
public static final CODEC_FORMAT OPJ_CODEC_JPP
-
OPJ_CODEC_JPX
public static final CODEC_FORMAT OPJ_CODEC_JPX
-
-
Method Detail
-
values
public static CODEC_FORMAT[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CODEC_FORMAT c : CODEC_FORMAT.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CODEC_FORMAT valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
intValue
public int intValue()
- Specified by:
intValue
in interfacejnr.ffi.util.EnumMapper.IntegerEnum
-
-