Uses of Enum Class
org.apache.commons.lang3.JavaVersion
Packages that use JavaVersion
Package
Description
Provides highly reusable static utility methods, chiefly concerned with adding value to the
java.lang
classes.-
Uses of JavaVersion in org.apache.commons.lang3
Fields in org.apache.commons.lang3 declared as JavaVersionModifier and TypeFieldDescriptionprivate static final JavaVersion
SystemUtils.JAVA_SPECIFICATION_VERSION_AS_ENUM
Methods in org.apache.commons.lang3 that return JavaVersionModifier and TypeMethodDescription(package private) static JavaVersion
Transforms the given string with a Java version number to the corresponding constant of this enumeration class.(package private) static JavaVersion
JavaVersion.getJavaVersion
(String nom) Transforms the given string with a Java version number to the corresponding constant of this enumeration class.static JavaVersion
Returns the enum constant of this class with the specified name.static JavaVersion[]
JavaVersion.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.commons.lang3 with parameters of type JavaVersionModifier and TypeMethodDescriptionboolean
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.