public class Platform extends Object
Modifier and Type | Field and Description |
---|---|
static Platform |
FREEBSD |
static Platform |
LINUX |
static Platform |
OPENBSD |
static Platform |
OSX |
static Platform |
OTHER
other OS's including HPUX, IRIX, AIX, and many others
|
static Platform |
SOLARIS |
static Platform |
WINDOWS |
Modifier and Type | Method and Description |
---|---|
static Platform |
getPlatform() |
static boolean |
isAIX() |
static boolean |
isFreeBSD() |
static boolean |
isLinux() |
static boolean |
isOpenBSD() |
static boolean |
isOSX() |
static boolean |
isOther() |
static boolean |
isSolaris() |
static boolean |
isWindows() |
static void |
main(String[] args) |
String |
toString() |
public static Platform getPlatform()
public static boolean isWindows()
public static boolean isOSX()
public static boolean isLinux()
public static boolean isSolaris()
public static boolean isFreeBSD()
public static boolean isOpenBSD()
public static boolean isOther()
public static boolean isAIX()