Package com.equo.application.client.os
Class OS
java.lang.Object
com.equo.application.client.os.OS
The
OS
class provides utility methods to determine the operating system type.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isLinux()
Checks if the operating system is Linux.static boolean
Checks if the operating system is Macintosh.static boolean
Checks if the operating system is Windows.
-
Constructor Details
-
OS
public OS()
-
-
Method Details
-
isWindows
public static boolean isWindows()Checks if the operating system is Windows.- Returns:
- The method is returning a boolean value.
-
isMacintosh
public static boolean isMacintosh()Checks if the operating system is Macintosh.- Returns:
- The method is returning a boolean value.
-
isLinux
public static boolean isLinux()Checks if the operating system is Linux.- Returns:
- The method is returning a boolean value.
-