public enum Alphabet extends Enum<Alphabet>
Enum Constant and Description |
---|
ALPHA_8_BIT
The -bit aphabet coding.
|
ALPHA_DEFAULT
SMSC alphabet default
|
ALPHA_RESERVED
Unused.
|
ALPHA_UCS2
UCS2 alphabet coding (16-bit)
|
Modifier and Type | Field and Description |
---|---|
static byte |
MASK_ALPHABET
Is the MASK of alphabet (00001100).
|
Modifier and Type | Method and Description |
---|---|
byte |
value()
Get the alphabet value.
|
static Alphabet |
valueOf(byte value)
Get the enum constant associated with specified value.
|
static Alphabet |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Alphabet[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Alphabet ALPHA_DEFAULT
public static final Alphabet ALPHA_8_BIT
public static final Alphabet ALPHA_UCS2
public static final Alphabet ALPHA_RESERVED
public static final byte MASK_ALPHABET
public static Alphabet[] values()
for (Alphabet c : Alphabet.values()) System.out.println(c);
public static Alphabet 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 value()
public static Alphabet valueOf(byte value) throws IllegalArgumentException
value
- is the value associated with the Alphabet enum
constant.IllegalArgumentException
- if there is no associated enum constant
for given value.