public static enum LoadText.Encoding extends Enum<LoadText.Encoding>
LoadText.guessEncoding(byte[], int, int)
.Enum Constant and Description |
---|
ASCII_COMPATIBLE |
EBCDIC |
UCS4_2143 |
UCS4_2143_BOM |
UCS4_3412 |
UCS4_3412_BOM |
UCS4_BE |
UCS4_BE_BOM |
UCS4_LE |
UCS4_LE_BOM |
UNKNOWN |
UTF16_BE |
UTF16_BE_BOM |
UTF16_LE |
UTF16_LE_BOM |
UTF8_BOM |
Modifier and Type | Method and Description |
---|---|
static LoadText.Encoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadText.Encoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadText.Encoding UCS4_BE_BOM
public static final LoadText.Encoding UCS4_LE_BOM
public static final LoadText.Encoding UCS4_2143_BOM
public static final LoadText.Encoding UCS4_3412_BOM
public static final LoadText.Encoding UTF16_BE_BOM
public static final LoadText.Encoding UTF16_LE_BOM
public static final LoadText.Encoding UTF8_BOM
public static final LoadText.Encoding UCS4_BE
public static final LoadText.Encoding UCS4_LE
public static final LoadText.Encoding UCS4_2143
public static final LoadText.Encoding UCS4_3412
public static final LoadText.Encoding UTF16_BE
public static final LoadText.Encoding UTF16_LE
public static final LoadText.Encoding ASCII_COMPATIBLE
public static final LoadText.Encoding EBCDIC
public static final LoadText.Encoding UNKNOWN
public static LoadText.Encoding[] values()
for (LoadText.Encoding c : LoadText.Encoding.values()) System.out.println(c);
public static LoadText.Encoding 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