public class Env
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
IS_JAVA_13_OR_LATER
True if running Java 2 level 1.3 or later.
|
static boolean |
IS_JAVA_14_OR_LATER
True if running Java 2 level 1.4 or later.
|
static boolean |
IS_JAVA_142_OR_LATER
True if running Java 2 level 1.4.2 or later.
|
static boolean |
IS_JAVA_15_OR_LATER
True if running Java 2 level 1.5 or later.
|
static boolean |
IS_JAVA_16_OR_LATER
True if running Java 2 level 1.6 or later.
|
static boolean |
IS_JAVA_17_OR_LATER
True if running Java 2 level 1.7 or later.
|
static boolean |
IS_JAVA_18_OR_LATER
True if running Java 2 level 1.8 or later.
|
static boolean |
IS_JAVA_19_OR_LATER
True if running Java 2 level 1.9 or later.
|
static java.lang.String |
LINE_SEPARATOR
Line separator.
|
static boolean |
MACOSX
True if running on Mac OS X.
|
static int |
MENU_SHORTCUT_KEY_MASK
Menu shortcut key mask.
|
static int |
MENU_SHORTCUT_SHIFT_KEY_MASK
Menu shortcut key mask with shift key.
|
static java.lang.String |
OSNAME
The operating system.
|
static boolean |
WINDOWSOS
True if running on some version of MS Windows.
|
Modifier | Constructor and Description |
---|---|
protected |
Env()
Don't allow instantiation, do allow overrides.
|
public static final java.lang.String OSNAME
public static final boolean MACOSX
public static final boolean WINDOWSOS
public static final boolean IS_JAVA_13_OR_LATER
public static final boolean IS_JAVA_14_OR_LATER
public static final boolean IS_JAVA_142_OR_LATER
public static final boolean IS_JAVA_15_OR_LATER
public static final boolean IS_JAVA_16_OR_LATER
public static final boolean IS_JAVA_17_OR_LATER
public static final boolean IS_JAVA_18_OR_LATER
public static final boolean IS_JAVA_19_OR_LATER
public static int MENU_SHORTCUT_KEY_MASK
public static int MENU_SHORTCUT_SHIFT_KEY_MASK
public static final java.lang.String LINE_SEPARATOR