public class JavaVersionParser extends Object
http://www.oracle.com/technetwork/java/javase/versioning-naming-139433.html
Modifier and Type | Class and Description |
---|---|
static class |
JavaVersionParser.JavaVersion
Struct like class representing a specific version of Java.
|
static class |
JavaVersionParser.KnownJavaVersions
Enum representing all the Java versions we know about and a special enum value
JavaVersionParser.KnownJavaVersions.UNKNOWN for ones we don't yet know about |
Modifier and Type | Field and Description |
---|---|
static String |
JAVA_VERSION_PROPERTY |
Modifier and Type | Method and Description |
---|---|
static JavaVersionParser.JavaVersion |
getCurrentJavaVersion() |
static JavaVersionParser.JavaVersion |
parseJavaVersion(String fullVersionString) |
public static final String JAVA_VERSION_PROPERTY
public static JavaVersionParser.JavaVersion getCurrentJavaVersion()
JavaVersionParser.JavaVersion
of this JVM.public static JavaVersionParser.JavaVersion parseJavaVersion(String fullVersionString)
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.