public static enum ScannerConfig.Preamble extends java.lang.Enum<ScannerConfig.Preamble>
Example Usage: Preamble.NONE;
Enum Constant and Description |
---|
COUNTRY_AND_SYS_CHAR
Both country and system code preamble
|
NONE
No preamble
|
SYS_CHAR
System character preamble
|
Modifier and Type | Method and Description |
---|---|
static ScannerConfig.Preamble |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScannerConfig.Preamble[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerConfig.Preamble NONE
public static final ScannerConfig.Preamble SYS_CHAR
public static final ScannerConfig.Preamble COUNTRY_AND_SYS_CHAR
public static ScannerConfig.Preamble[] values()
for (ScannerConfig.Preamble c : ScannerConfig.Preamble.values()) System.out.println(c);
public static ScannerConfig.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 null