public class SystemUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
equals(Object source,
Object target)
Indicates if both fields are equal.
|
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.
|
public static boolean equals(Object source, Object target)
Object.equals(Object) method.source - The source field.target - The target field.public static int getJavaMajorVersion()
public static int getJavaMinorVersion()
public static int getJavaUpdateVersion()
public static int hashCode(Object... objects)
objects - the objects to compute the hashCodepublic static boolean isWindows()
Copyright © 2005-2015 Restlet.