public class OS extends Object
Modifier and Type | Field and Description |
---|---|
static String |
EOL |
static boolean |
IS_LINUX
The current OS is Linux (implies IS_UNIX is also true)
|
static boolean |
IS_MACOS
The current OS is MacOS (implies IS_UNIX is also true)
|
static boolean |
IS_UNIX
The current OS is Linux, BSD, Darwin, AIX, Solaris (etc.)
|
static boolean |
IS_WINDOWS
The current OS is Windows of any flavour (implies IS_UNIX is false)
|
Constructor and Description |
---|
OS() |
public static final boolean IS_UNIX
public static final boolean IS_WINDOWS
public static final boolean IS_LINUX
public static final boolean IS_MACOS
public static final String EOL
Copyright © 2017. All rights reserved.