Uses of Class
java.lang.Runtime.Version
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
Provides classes for reading and writing the JAR (Java ARchive)
file format, which is based on the standard ZIP file format with an
optional manifest file.
-
Uses of Runtime.Version in java.lang
Modifier and TypeMethodDescriptionstatic Runtime.Version
Parses the given string as a valid version string containing a version number followed by pre-release and build information.static Runtime.Version
Runtime.version()
Returns the version of the Java Runtime Environment as aRuntime.Version
.Modifier and TypeMethodDescriptionint
Runtime.Version.compareTo
(Runtime.Version obj) Compares this version to another.int
Runtime.Version.compareToIgnoreOptional
(Runtime.Version obj) Compares this version to another disregarding optional build information. -
Uses of Runtime.Version in java.util.jar
Modifier and TypeMethodDescriptionstatic Runtime.Version
JarFile.baseVersion()
Returns the version that represents the unversioned configuration of a multi-release jar file.final Runtime.Version
JarFile.getVersion()
Returns the maximum version used when searching for versioned entries.static Runtime.Version
JarFile.runtimeVersion()
Returns the version that represents the effective runtime versioned configuration of a multi-release jar file.ModifierConstructorDescriptionJarFile
(File file, boolean verify, int mode, Runtime.Version version) Creates a newJarFile
to read from the specifiedFile
object in the specified mode.