public enum CharacterSet extends Enum<CharacterSet> implements IByteConstant
| Modifier and Type | Method and Description |
|---|---|
byte |
getByte() |
static CharacterSet |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CharacterSet[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CharacterSet ASCII
public static final CharacterSet EBCDIC
public static CharacterSet[] values()
for (CharacterSet c : CharacterSet.values()) System.out.println(c);
public static CharacterSet valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic byte getByte()
getByte in interface IByteConstantCopyright © 2024. All rights reserved.