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