public enum DataFormat extends java.lang.Enum<DataFormat>
DataFormat enum represents the possible formats for attached data carried in a DataI object.| Enum Constant and Description |
|---|
BIN
A
DataI object with this format is carrying binary data in the form of a byte array. |
KVP
A
DataI object with this format is carrying key value pair data in the form of a map of string keys and values. |
STR
A
DataI object with this format is carrying string data. |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static DataFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataFormat BIN
DataI object with this format is carrying binary data in the form of a byte array.public static final DataFormat KVP
DataI object with this format is carrying key value pair data in the form of a map of string keys and values.public static final DataFormat STR
DataI object with this format is carrying string data.public static final DataFormat UNKNOWN
public static DataFormat[] values()
for (DataFormat c : DataFormat.values()) System.out.println(c);
public static DataFormat 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 null