public enum JavaSEPlatform extends Enum<JavaSEPlatform>
Enum Constant and Description |
---|
v1_1
JavaSE 1.1.
|
v1_2
JavaSE 1.2.
|
v1_3
JavaSE 1.3.
|
v1_4
JavaSE 1.4.
|
v1_5
JavaSE 1.5.
|
v1_6
JavaSE 1.6.
|
v1_7
JavaEE 1.7.
|
v1_8
JavaEE 1.8.
|
Modifier and Type | Field and Description |
---|---|
static int |
length
GlassFish JavaEE platform enumeration length.
|
static char |
SEPARATOR
JavaEE platform version elements separator character.
|
private static Map<String,JavaSEPlatform> |
stringValuesMap
Stored
String values for backward String
conversion. |
(package private) static String |
V1_1_STR
A
String representation of v1_1 value. |
(package private) static String |
V1_2_STR
A
String representation of v1_2 value. |
(package private) static String |
V1_3_STR
A
String representation of v1_3 value. |
(package private) static String |
V1_4_STR
A
String representation of v1_4 value. |
(package private) static String |
V1_5_STR
A
String representation of v1_5 value. |
(package private) static String |
V1_6_STR
A
String representation of v1_6 value. |
(package private) static String |
V1_7_STR
A
String representation of v1_7 value. |
(package private) static String |
V1_8_STR
A
String representation of v1_8 value. |
Modifier and Type | Method and Description |
---|---|
String |
toString()
Convert JavaEE platform version value to
String . |
static JavaSEPlatform |
toValue(String platformName)
Returns a
JavaSEPlatform with a value represented by the
specified String . |
static JavaSEPlatform |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaSEPlatform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaSEPlatform v1_1
public static final JavaSEPlatform v1_2
public static final JavaSEPlatform v1_3
public static final JavaSEPlatform v1_4
public static final JavaSEPlatform v1_5
public static final JavaSEPlatform v1_6
public static final JavaSEPlatform v1_7
public static final JavaSEPlatform v1_8
public static final int length
public static final char SEPARATOR
static final String V1_1_STR
String
representation of v1_1 value.static final String V1_2_STR
String
representation of v1_2 value.static final String V1_3_STR
String
representation of v1_3 value.static final String V1_4_STR
String
representation of v1_4 value.static final String V1_5_STR
String
representation of v1_5 value.static final String V1_6_STR
String
representation of v1_6 value.static final String V1_7_STR
String
representation of v1_7 value.static final String V1_8_STR
String
representation of v1_8 value.private static final Map<String,JavaSEPlatform> stringValuesMap
String
values for backward String
conversion.public static JavaSEPlatform[] values()
for (JavaSEPlatform c : JavaSEPlatform.values()) System.out.println(c);
public static JavaSEPlatform 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 static JavaSEPlatform toValue(String platformName)
JavaSEPlatform
with a value represented by the
specified String
. The JavaSEPlatform
returned
represents existing value only if specified String
matches any String
returned by toString
method.
Otherwise null
value is returned.
platformName
- Value containing JavaSEPlatform
toString
representation.JavaSEPlatform
value represented
by String
or null
if value
was not recognized.public String toString()
String
.
toString
in class Enum<JavaSEPlatform>
String
representation of the value of this object.Copyright © 2013. All Rights Reserved.