public enum ControlProtocolVersion extends Enum<ControlProtocolVersion>
| Enum Constant and Description |
|---|
OF_1_0 |
OF_1_1 |
OF_1_2 |
OF_1_3 |
OF_1_4 |
OF_1_5 |
| Modifier and Type | Method and Description |
|---|---|
static ControlProtocolVersion |
enumFromString(String versionString)
Alternative method to valueOf.
|
String |
toString() |
static List<String> |
toStringList()
Returns a list of control protocol version string values.
|
static ControlProtocolVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControlProtocolVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlProtocolVersion OF_1_0
public static final ControlProtocolVersion OF_1_1
public static final ControlProtocolVersion OF_1_2
public static final ControlProtocolVersion OF_1_3
public static final ControlProtocolVersion OF_1_4
public static final ControlProtocolVersion OF_1_5
public static ControlProtocolVersion[] values()
for (ControlProtocolVersion c : ControlProtocolVersion.values()) System.out.println(c);
public static ControlProtocolVersion valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<ControlProtocolVersion>public static List<String> toStringList()
public static ControlProtocolVersion enumFromString(String versionString)
versionString - the string representing the encapsulation type