public enum MagEncoderType extends Enum<MagEncoderType>
Enum Constant and Description |
---|
ISO
ISO data encoding.
|
JIS
JIS data encoding.
|
None
No Magnetic Encoder installed.
|
Modifier and Type | Method and Description |
---|---|
static MagEncoderType |
fromString(String text)
Returns the MagEncoderType enumeration for the specified text or null if no enumeration matches the specified text.
|
static MagEncoderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MagEncoderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MagEncoderType None
public static final MagEncoderType ISO
public static final MagEncoderType JIS
public static MagEncoderType[] values()
for (MagEncoderType c : MagEncoderType.values()) System.out.println(c);
public static MagEncoderType 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 MagEncoderType fromString(String text)
text
- text representation of the specified enumeration member.
© 2016 ZIH Corp. All Rights Reserved.