|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jpox.util.JavaUtils
Utilities relating to the version of Java in use at runtime.
Constructor Summary | |
JavaUtils()
|
Method Summary | |
static int |
getJREMajorVersion()
Accessor for the major version number of the JRE. |
static int |
getJREMinorVersion()
Accessor for the minor version number of the JRE. |
static boolean |
isEqualsThan(java.lang.String version)
Check if the current version is equals than the argument version. |
static boolean |
isGreaterEqualsThan(java.lang.String version)
Check if the current version is greater or equals than the argument version. |
static boolean |
isJRE1_4OrAbove()
Accessor for whether the JRE is 1.4 (or above). |
static boolean |
isJRE1_5OrAbove()
Accessor for whether the JRE is 1.5 (or above). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JavaUtils()
Method Detail |
public static boolean isJRE1_4OrAbove()
public static boolean isJRE1_5OrAbove()
public static int getJREMajorVersion()
public static int getJREMinorVersion()
public static boolean isGreaterEqualsThan(java.lang.String version)
version
- the version
public static boolean isEqualsThan(java.lang.String version)
version
- the version
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |