public static enum ScannerConfig.CharacterSet extends Enum<ScannerConfig.CharacterSet>
Example Usage: CharacterSet.UTF_8;
Enum Constant and Description |
---|
AUTO
Select the character set automatically.
|
GB18030
Select GB18030 as a character set.
|
ISO_8859_1
Select ISO-8859-1 as a character set.
|
Shift_JIS
Select Shift_JIS as a character set.
|
UTF_8
Select UTF-8 as a character set.
|
Modifier and Type | Method and Description |
---|---|
static ScannerConfig.CharacterSet |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScannerConfig.CharacterSet[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerConfig.CharacterSet AUTO
public static final ScannerConfig.CharacterSet UTF_8
public static final ScannerConfig.CharacterSet ISO_8859_1
public static final ScannerConfig.CharacterSet Shift_JIS
public static final ScannerConfig.CharacterSet GB18030
public static ScannerConfig.CharacterSet[] values()
for (ScannerConfig.CharacterSet c : ScannerConfig.CharacterSet.values()) System.out.println(c);
public static ScannerConfig.CharacterSet 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 null