Package com.macrofocus.helper
Class OSHelper
java.lang.Object
com.macrofocus.helper.OSHelper
Helper class for dealing with operating system detection.
-
Constructor Details
-
OSHelper
public OSHelper()
-
-
Method Details
-
isMacOSX
public static boolean isMacOSX()- Returns:
- true if this VM is running on Mac OS X
-
isWindows
public static boolean isWindows()- Returns:
- true if this VM is running on Windows
-
isLinux
public static boolean isLinux()- Returns:
- true if this VM is running on a Linux distribution
-
isJdk6Above
public static boolean isJdk6Above() -
isJdk7Above
public static boolean isJdk7Above() -
isJdk8Above
public static boolean isJdk8Above() -
isJdk8u20Above
public static boolean isJdk8u20Above()
-