public enum MagEncodingType extends Enum<MagEncodingType>
| Enum Constant and Description |
|---|
AAMVA
AAMVA data encoding.
|
Binary
Binary data encoding.
|
Custom
Custom encoding.
|
ISO
ISO data encoding.
|
JIS
JIS data encoding.
|
| Modifier and Type | Method and Description |
|---|---|
static MagEncodingType |
fromString(String text)
Returns the EncodingType enumeration for the specified text or null if no enumeration matches the specified text.
|
static MagEncodingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MagEncodingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MagEncodingType ISO
public static final MagEncodingType AAMVA
public static final MagEncodingType JIS
public static final MagEncodingType Custom
public static final MagEncodingType Binary
public static MagEncodingType[] values()
for (MagEncodingType c : MagEncodingType.values()) System.out.println(c);
public static MagEncodingType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static MagEncodingType fromString(String text)
text - text representation of the specified enumeration member.
© 2016 ZIH Corp. All Rights Reserved.