public static enum TextProtocol.TOKENS extends java.lang.Enum<TextProtocol.TOKENS>
| Enum Constant and Description |
|---|
FIRST_PAYLOAD_TOKEN |
ID_TOKEN |
NAME_TOKEN |
OP_TOKEN |
VERSION_TOKEN |
| Modifier and Type | Method and Description |
|---|---|
static TextProtocol.TOKENS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextProtocol.TOKENS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextProtocol.TOKENS VERSION_TOKEN
public static final TextProtocol.TOKENS NAME_TOKEN
public static final TextProtocol.TOKENS ID_TOKEN
public static final TextProtocol.TOKENS OP_TOKEN
public static final TextProtocol.TOKENS FIRST_PAYLOAD_TOKEN
public static TextProtocol.TOKENS[] values()
for (TextProtocol.TOKENS c : TextProtocol.TOKENS.values()) System.out.println(c);
public static TextProtocol.TOKENS 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 nullCopyright (c) 2004-2012 Oracle. All rights reserved.