| Package | Description |
|---|---|
| com.helger.commons.system |
| Modifier and Type | Method and Description |
|---|---|
static EJavaVersion |
EJavaVersion.getCurrentVersion() |
static EJavaVersion |
EJavaVersion.getFromMajorAndMinor(int nMajor,
int nMinor)
Get the matching Java version from a class version.
|
static EJavaVersion |
EJavaVersion.getFromVersionNumber(double dVersion) |
static EJavaVersion |
SystemHelper.getJavaVersion() |
static EJavaVersion |
EJavaVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EJavaVersion[] |
EJavaVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
EJavaVersion.isNewerOrEqualsThan(EJavaVersion eJavaVersion)
Check if this java version is newer or equals than the passed version
|
boolean |
EJavaVersion.isOlderOrEqualsThan(EJavaVersion eJavaVersion)
Check if this java version is older or equals than the passed version
|
Copyright © 2014–2019 Philip Helger. All rights reserved.