Package megameklab.ui.util
Class OSUtil
java.lang.Object
megameklab.ui.util.OSUtil
Utility class to determine the operating system.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OSUtil
public OSUtil()
-
-
Method Details
-
getOS
Returns the current operating system.- Returns:
OSUtil.OS
-
isMac
public static boolean isMac()- Returns:
- true if the current operating system is Mac
-
isWindows
public static boolean isWindows()- Returns:
- true if the current operating system is Windows
-
isLinux
public static boolean isLinux()- Returns:
- true if the current operating system is Linux
-