public static enum CharSet.Predefined extends java.lang.Enum<CharSet.Predefined>
Enum Constant and Description |
---|
EXTENDED_ROMAN
The "Extended Roman" character set.
|
WINDOWS_ANSI
The "Windows ANSI" character set, also known as Windows Code Page 1252.
|
Modifier and Type | Method and Description |
---|---|
static CharSet.Predefined |
findByName(java.lang.String name)
Finds the instance that matches a given name.
|
java.lang.String |
getName()
Returns the name of the character set.
|
static CharSet.Predefined |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CharSet.Predefined[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CharSet.Predefined WINDOWS_ANSI
PsEncoding.Predefined.WIN_ANSI
.public static final CharSet.Predefined EXTENDED_ROMAN
public static CharSet.Predefined[] values()
for (CharSet.Predefined c : CharSet.Predefined.values()) System.out.println(c);
public static CharSet.Predefined 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 nullpublic java.lang.String getName()
public static CharSet.Predefined findByName(java.lang.String name)
name
- The name of the predefined character set to find.name
, or null if no such character set exists.This documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.