Package org.jmrtd.lds.iso19794
Enum FaceImageInfo.ImageDataType
- java.lang.Object
-
- java.lang.Enum<FaceImageInfo.ImageDataType>
-
- org.jmrtd.lds.iso19794.FaceImageInfo.ImageDataType
-
- All Implemented Interfaces:
Serializable
,Comparable<FaceImageInfo.ImageDataType>
- Enclosing class:
- FaceImageInfo
public static enum FaceImageInfo.ImageDataType extends Enum<FaceImageInfo.ImageDataType>
Image data type code based on Section 5.7.2 of ISO 19794-5.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TYPE_JPEG
TYPE_JPEG2000
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FaceImageInfo.ImageDataType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FaceImageInfo.ImageDataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TYPE_JPEG
public static final FaceImageInfo.ImageDataType TYPE_JPEG
-
TYPE_JPEG2000
public static final FaceImageInfo.ImageDataType TYPE_JPEG2000
-
-
Method Detail
-
values
public static FaceImageInfo.ImageDataType[] 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 (FaceImageInfo.ImageDataType c : FaceImageInfo.ImageDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FaceImageInfo.ImageDataType 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
-
-