Package | Description |
---|---|
org.apache.commons.lang3 |
Provides highly reusable static utility methods, chiefly concerned with adding value to the
java.lang classes. |
Modifier and Type | Field and Description |
---|---|
private static JavaVersion |
SystemUtils.JAVA_SPECIFICATION_VERSION_AS_ENUM |
Modifier and Type | Method and Description |
---|---|
(package private) static JavaVersion |
JavaVersion.get(java.lang.String nom)
Transforms the given string with a Java version number to the
corresponding constant of this enumeration class.
|
(package private) static JavaVersion |
JavaVersion.getJavaVersion(java.lang.String nom)
Transforms the given string with a Java version number to the
corresponding constant of this enumeration class.
|
static JavaVersion |
JavaVersion.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaVersion[] |
JavaVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
JavaVersion.atLeast(JavaVersion requiredVersion)
Whether this version of Java is at least the version of Java passed in.
|
static boolean |
SystemUtils.isJavaVersionAtLeast(JavaVersion requiredVersion)
Is the Java version at least the requested version.
|