public enum RawPacketDisplayMode extends java.lang.Enum<RawPacketDisplayMode>
| Enum Constant and Description |
|---|
LVL3_PROTOCOL
Display packet body as decoded Level 3 meanings.
|
RAW_HEX
Display packet body as a sequence of hexadecimal-encoded bytes.
|
RAW_TEXT
Display packet body as if it was UTF-8 encoded text.
|
| Modifier and Type | Method and Description |
|---|---|
static RawPacketDisplayMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RawPacketDisplayMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RawPacketDisplayMode RAW_TEXT
public static final RawPacketDisplayMode RAW_HEX
public static final RawPacketDisplayMode LVL3_PROTOCOL
public static RawPacketDisplayMode[] values()
for (RawPacketDisplayMode c : RawPacketDisplayMode.values()) System.out.println(c);
public static RawPacketDisplayMode 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