public class ClientOS
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ClientOS.OS
OS is a typesafe enum class that describes the current operating system.
|
Modifier and Type | Field and Description |
---|---|
static ClientOS.OS |
os
The current operating system and version.
|
static double |
osVersion |
Constructor and Description |
---|
ClientOS() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getOSPrefix()
Method to return the operating system name.
|
static double |
getOSVersion() |
static boolean |
isOSLinux() |
static boolean |
isOSMac() |
static boolean |
isOSWindows() |
static java.lang.String |
userDir() |
public static final ClientOS.OS os
public static double osVersion
public static java.lang.String getOSPrefix()
public static java.lang.String userDir()
public static boolean isOSWindows()
public static boolean isOSMac()
public static boolean isOSLinux()
public static double getOSVersion()