public static enum MO.MESSAGE_TYPE extends java.lang.Enum<MO.MESSAGE_TYPE>
| Enum Constant and Description |
|---|
BINARY
This is a raw binary message
|
TEXT
This is a plain text (8 bit alphabet) message
|
UNICODE
This is a unicode message
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getType() |
static MO.MESSAGE_TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MO.MESSAGE_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MO.MESSAGE_TYPE TEXT
public static final MO.MESSAGE_TYPE BINARY
public static final MO.MESSAGE_TYPE UNICODE
public static MO.MESSAGE_TYPE[] values()
for (MO.MESSAGE_TYPE c : MO.MESSAGE_TYPE.values()) System.out.println(c);
public static MO.MESSAGE_TYPE 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 getType()