public static enum CharsetToolkit.GuessedEncoding extends java.lang.Enum<CharsetToolkit.GuessedEncoding>
Enum Constant and Description |
---|
BINARY |
INVALID_UTF8 |
SEVEN_BIT |
VALID_UTF8 |
Modifier and Type | Method and Description |
---|---|
static CharsetToolkit.GuessedEncoding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CharsetToolkit.GuessedEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CharsetToolkit.GuessedEncoding SEVEN_BIT
public static final CharsetToolkit.GuessedEncoding VALID_UTF8
public static final CharsetToolkit.GuessedEncoding INVALID_UTF8
public static final CharsetToolkit.GuessedEncoding BINARY
public static CharsetToolkit.GuessedEncoding[] values()
for (CharsetToolkit.GuessedEncoding c : CharsetToolkit.GuessedEncoding.values()) System.out.println(c);
public static CharsetToolkit.GuessedEncoding 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