Uses of Class
org.apache.commons.lang3.JavaVersion
-
Packages that use JavaVersion Package Description org.apache.commons.lang3 Provides highly reusable static utility methods, chiefly concerned with adding value to thejava.lang
classes. -
-
Uses of JavaVersion in org.apache.commons.lang3
Fields in org.apache.commons.lang3 declared as JavaVersion Modifier and Type Field Description private static JavaVersion
SystemUtils. JAVA_SPECIFICATION_VERSION_AS_ENUM
Methods in org.apache.commons.lang3 that return JavaVersion Modifier and Type Method Description (package private) static JavaVersion
JavaVersion. get(java.lang.String versionStr)
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.Methods in org.apache.commons.lang3 with parameters of type JavaVersion Modifier and Type Method Description boolean
JavaVersion. atLeast(JavaVersion requiredVersion)
Whether this version of Java is at least the version of Java passed in.boolean
JavaVersion. atMost(JavaVersion requiredVersion)
Whether this version of Java is at most the version of Java passed in.static boolean
SystemUtils. isJavaVersionAtLeast(JavaVersion requiredVersion)
Is the Java version at least the requested version.static boolean
SystemUtils. isJavaVersionAtMost(JavaVersion requiredVersion)
Is the Java version at most the requested version.
-