public final class Platform
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Platform.EnumOS |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OS |
| Constructor and Description |
|---|
Platform() |
| Modifier and Type | Method and Description |
|---|---|
static void |
exit(int exitCode,
boolean halt) |
static java.lang.String |
getArch() |
static Platform.EnumOS |
getCurrentPlatform() |
static boolean |
isOnLinux() |
static boolean |
isOnMac() |
static boolean |
isOnWindows() |
public static void exit(int exitCode,
boolean halt)
public static boolean isOnMac()
public static boolean isOnWindows()
public static boolean isOnLinux()
public static Platform.EnumOS getCurrentPlatform()
public static java.lang.String getArch()