public enum CodePages extends java.lang.Enum<CodePages> implements IEnumType
Enum Constant and Description |
---|
BinaryCodepage |
ISOIEC_2022 |
ISOIEC_646 |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
java.lang.String |
toString() |
static CodePages |
valueOf(int code) |
static CodePages |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CodePages[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodePages ISOIEC_646
public static final CodePages ISOIEC_2022
public static final CodePages BinaryCodepage
public static CodePages[] values()
for (CodePages c : CodePages.values()) System.out.println(c);
public static CodePages 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 toString()
public static CodePages valueOf(int code)