Package com.macrofocus.helper
Class OSHelper
- java.lang.Object
-
- com.macrofocus.helper.OSHelper
-
public class OSHelper extends java.lang.Object
Helper class for dealing with operating system detection.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OSHelper.JavaVersion
-
Constructor Summary
Constructors Constructor Description OSHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isJdk6Above()
static boolean
isJdk7Above()
static boolean
isJdk8Above()
static boolean
isJdk8u20Above()
static boolean
isLinux()
static boolean
isMacOSX()
static boolean
isWindows()
-
-
-
Method Detail
-
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()
-
-