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