public static enum Connection.Version extends java.lang.Enum<Connection.Version>
Enum Constant and Description |
---|
VERSION_2_1 |
VERSION_3_0 |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
value |
Modifier and Type | Method and Description |
---|---|
static Connection.Version |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Connection.Version[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Connection.Version VERSION_2_1
public static final Connection.Version VERSION_3_0
public static Connection.Version[] values()
for (Connection.Version c : Connection.Version.values()) System.out.println(c);
public static Connection.Version 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 nullstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.