public enum MessageFormat extends java.lang.Enum<MessageFormat>
| Enum Constant and Description |
|---|
ARRAY16 |
ARRAY32 |
BIN16 |
BIN32 |
BIN8 |
BOOLEAN |
EXT16 |
EXT32 |
EXT8 |
FIXARRAY |
FIXEXT1 |
FIXEXT16 |
FIXEXT2 |
FIXEXT4 |
FIXEXT8 |
FIXMAP |
FIXSTR |
FLOAT32 |
FLOAT64 |
INT16 |
INT32 |
INT64 |
INT8 |
MAP16 |
MAP32 |
NEGFIXINT |
NEVER_USED |
NIL |
POSFIXINT |
STR16 |
STR32 |
STR8 |
UINT16 |
UINT32 |
UINT64 |
UINT8 |
| Modifier and Type | Method and Description |
|---|---|
ValueType |
getValueType()
Retruns the ValueType corresponding to this MessageFormat
|
static MessageFormat |
valueOf(byte b)
Returns a MessageFormat type of the specified byte value
|
static MessageFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageFormat POSFIXINT
public static final MessageFormat FIXMAP
public static final MessageFormat FIXARRAY
public static final MessageFormat FIXSTR
public static final MessageFormat NIL
public static final MessageFormat NEVER_USED
public static final MessageFormat BOOLEAN
public static final MessageFormat BIN8
public static final MessageFormat BIN16
public static final MessageFormat BIN32
public static final MessageFormat EXT8
public static final MessageFormat EXT16
public static final MessageFormat EXT32
public static final MessageFormat FLOAT32
public static final MessageFormat FLOAT64
public static final MessageFormat UINT8
public static final MessageFormat UINT16
public static final MessageFormat UINT32
public static final MessageFormat UINT64
public static final MessageFormat INT8
public static final MessageFormat INT16
public static final MessageFormat INT32
public static final MessageFormat INT64
public static final MessageFormat FIXEXT1
public static final MessageFormat FIXEXT2
public static final MessageFormat FIXEXT4
public static final MessageFormat FIXEXT8
public static final MessageFormat FIXEXT16
public static final MessageFormat STR8
public static final MessageFormat STR16
public static final MessageFormat STR32
public static final MessageFormat ARRAY16
public static final MessageFormat ARRAY32
public static final MessageFormat MAP16
public static final MessageFormat MAP32
public static final MessageFormat NEGFIXINT
public static MessageFormat[] values()
for (MessageFormat c : MessageFormat.values()) System.out.println(c);
public static MessageFormat 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 ValueType getValueType() throws MessageFormatException
MessageFormatException - if this == NEVER_USED typepublic static MessageFormat valueOf(byte b)
b - MessageFormat of the given byte