public enum Preamble extends java.lang.Enum<Preamble> implements IEnumType
Enum Constant and Description |
---|
NoPreamble |
SystemCharacter |
SystemCharacterCoutryCode |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
java.lang.String |
toString() |
static Preamble |
valueOf(int code) |
static Preamble |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Preamble[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Preamble NoPreamble
public static final Preamble SystemCharacter
public static final Preamble SystemCharacterCoutryCode
public static Preamble[] values()
for (Preamble c : Preamble.values()) System.out.println(c);
public static Preamble valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
public static Preamble valueOf(int code)