public class Platform
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static Platform |
getCurrent()
Get the current Operating System
|
static java.lang.String |
getProcessorArchitecture()
Get the processor architecture of the CPU
|
boolean |
isMacintosh()
Determines if the OS is Macintosh
|
boolean |
isSolaris()
Determines if the OS is Solaris-based
|
boolean |
isUnix()
Determines if the OS is Unix-based
|
boolean |
isUnknown()
Determines if the OS is unknown
|
boolean |
isWindows()
Determines if the OS is Windows
|
public static Platform getCurrent()
public static java.lang.String getProcessorArchitecture()
public boolean isWindows()
public boolean isMacintosh()
public boolean isUnix()
public boolean isSolaris()
public boolean isUnknown()