|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.lang.JVMs
public class JVMs
Utilities of Java Virtual Machine.
Method Summary | |
---|---|
static int |
getMajorVersion()
Returns the major version. |
static int |
getMinorVersion()
Returns the minor version. |
static boolean |
isJava5()
Returns whether JVM is 5.0 or above. |
static boolean |
isJava6()
Returns whether JVM is 6.0 or above. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final boolean isJava5()
Note: if isJava5()
returns true, then isJava6()
must return true.
public static final boolean isJava6()
public static final int getMajorVersion()
public static final int getMinorVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |