public enum EnumMessageFormat extends java.lang.Enum<EnumMessageFormat>
| Enum Constant and Description |
|---|
BINARY
Binary message format.
|
XML
XML message format (default).
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BINARY_FILENAME_ID
Name of the name of the binary file.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumMessageFormat |
fromString(java.lang.String text)
Returns a
EnumMessageFormat from the given text. |
static java.lang.String |
getList()
Returns a "printable" list of the elements' values.
|
java.lang.String |
toString()
Returns the value for the current EnumMessageFormat.
|
static EnumMessageFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumMessageFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumMessageFormat XML
public static final EnumMessageFormat BINARY
public static final java.lang.String BINARY_FILENAME_ID
public static EnumMessageFormat[] values()
for (EnumMessageFormat c : EnumMessageFormat.values()) System.out.println(c);
public static EnumMessageFormat 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 static EnumMessageFormat fromString(java.lang.String text)
EnumMessageFormat from the given text. null if the given text doesn't describes any of
the elements.text - Text to retrieve the EnumTypenull if the given text doesn't describes any of the elements.public java.lang.String toString()
toString in class java.lang.Enum<EnumMessageFormat>public static java.lang.String getList()