JMRTD 0.4.5

org.jmrtd.lds
Enum FaceInfo.ImageData

java.lang.Object
  extended by java.lang.Enum<FaceInfo.ImageData>
      extended by org.jmrtd.lds.FaceInfo.ImageData
All Implemented Interfaces:
Serializable, Comparable<FaceInfo.ImageData>
Enclosing class:
FaceInfo

public static enum FaceInfo.ImageData
extends Enum<FaceInfo.ImageData>

Image data type code based on Section 5.7.2 of ISO 19794-5.


Enum Constant Summary
TYPE_JPEG
           
TYPE_JPEG2000
           
 
Method Summary
static FaceInfo.ImageData valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FaceInfo.ImageData[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TYPE_JPEG

public static final FaceInfo.ImageData TYPE_JPEG

TYPE_JPEG2000

public static final FaceInfo.ImageData TYPE_JPEG2000
Method Detail

values

public static FaceInfo.ImageData[] 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 (FaceInfo.ImageData c : FaceInfo.ImageData.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FaceInfo.ImageData 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 name
NullPointerException - if the argument is null

JMRTD 0.4.5