|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Alphabet>
org.jsmpp.bean.Alphabet
public enum Alphabet
This is enum of the alphabet type.
Enum Constant Summary | |
---|---|
ALPHA_8_BIT
The -bit aphabet coding. |
|
ALPHA_DEFAULT
SMSC alphabet default |
|
ALPHA_RESERVED
Unused. |
|
ALPHA_UCS2
UCS2 alphabet coding (16-bit) |
Field Summary | |
---|---|
static byte |
MASK_ALPHABET
Is the MASK of alphabet (00001100). |
private byte |
value
|
Method Summary | |
---|---|
static Alphabet |
parseDataCoding(byte dataCoding)
|
byte |
value()
Get the alphabet value. |
static Alphabet |
valueOf(byte value)
Get the enum constant associated with specified value. |
static Alphabet |
valueOf(java.lang.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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Field Detail |
---|
public static final byte MASK_ALPHABET
private final byte value
Method Detail |
---|
public static Alphabet[] values()
for (Alphabet c : Alphabet.values()) System.out.println(c);
public static Alphabet 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 name
java.lang.NullPointerException
- if the argument is nullpublic byte value()
public static Alphabet valueOf(byte value) throws java.lang.IllegalArgumentException
value
- is the value associated with the Alphabet enum
constant.
java.lang.IllegalArgumentException
- if there is no associated enum constant
for given value.public static Alphabet parseDataCoding(byte dataCoding) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |