Uses of Class
java.lang.Runtime.Version
Packages that use 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
Methods in java.lang that return Runtime.VersionModifier and TypeMethodDescriptionstatic Runtime.VersionParses the given string as a valid version string containing a version number followed by pre-release and build information.static Runtime.VersionRuntime.version()Returns the version of the Java Runtime Environment as aRuntime.Version.Methods in java.lang with parameters of type Runtime.VersionModifier and TypeMethodDescriptionintRuntime.Version.compareTo(Runtime.Version obj) Compares this version to another.intRuntime.Version.compareToIgnoreOptional(Runtime.Version obj) Compares this version to another disregarding optional build information. -
Uses of Runtime.Version in java.util.jar
Methods in java.util.jar that return Runtime.VersionModifier and TypeMethodDescriptionstatic Runtime.VersionJarFile.baseVersion()Returns the version that represents the unversioned configuration of a multi-release jar file.final Runtime.VersionJarFile.getVersion()Returns the maximum version used when searching for versioned entries.static Runtime.VersionJarFile.runtimeVersion()Returns the version that represents the effective runtime versioned configuration of a multi-release jar file.Constructors in java.util.jar with parameters of type Runtime.VersionModifierConstructorDescriptionJarFile(File file, boolean verify, int mode, Runtime.Version version) Creates a newJarFileto read from the specifiedFileobject in the specified mode.