|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.engine.util.SystemUtils
public class SystemUtils
System utilities.
| Method Summary | |
|---|---|
static int |
getJavaMajorVersion()
Parses the "java.version" system property and returns the first digit of the version number of the Java Runtime Environment (e.g. |
static int |
getJavaMinorVersion()
Parses the "java.version" system property and returns the second digit of the version number of the Java Runtime Environment (e.g. |
static int |
getJavaUpdateVersion()
Parses the "java.version" system property and returns the update release number of the Java Runtime Environment (e.g. |
static int |
hashCode(Object... objects)
Computes the hash code of a set of objects. |
static boolean |
isWindows()
Indicates if the current operating system is in the Windows family. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int getJavaMajorVersion()
public static int getJavaMinorVersion()
public static int getJavaUpdateVersion()
public static int hashCode(Object... objects)
objects - the objects to compute the hashCode
public static boolean isWindows()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||