public class JDK
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
IS_5
True if JDK is 1.5 (or newer)
|
static boolean |
IS_6
True if JDK is 1.6 (or newer)
|
static boolean |
IS_7
True if JDK is 1.7 (or newer)
|
static boolean |
IS_8
True if JDK is 1.8 (or newer)
|
static boolean |
IS_9
True if JDK is 1.9 (or newer)
|
Constructor and Description |
---|
JDK() |
Modifier and Type | Method and Description |
---|---|
private static boolean |
isJavaVersionAtLeast(int maj,
int min) |
private static int |
toInt(java.lang.String val) |
public static final boolean IS_5
public static final boolean IS_6
public static final boolean IS_7
public static final boolean IS_8
public static final boolean IS_9