public final class PlatformManager extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static PlatformHook |
PLATFORM
Platform specific code goes in here.
|
Modifier | Constructor and Description |
---|---|
private |
PlatformManager() |
Modifier and Type | Method and Description |
---|---|
static PlatformHook |
getPlatform()
Returns the current platform hook.
|
static boolean |
isPlatformOsx()
Determines if we are currently running on macOS.
|
static boolean |
isPlatformUnixoid()
Determines if we are currently running on an Unix system.
|
static boolean |
isPlatformWindows()
Determines if we are currently running on Windows.
|
private static final PlatformHook PLATFORM
private PlatformManager()
public static PlatformHook getPlatform()
public static boolean isPlatformOsx()
true
if we are currently running on macOSpublic static boolean isPlatformUnixoid()
true
if we are currently running on an Unix systempublic static boolean isPlatformWindows()
true
if we are currently running on Windows