public class Version extends Object
Modifier and Type | Field and Description |
---|---|
static int |
JDK_1_3 |
static int |
JDK_1_4 |
static int |
JDK_1_5 |
static int |
JDK_VERSION |
static int |
JDK_VERSION_NOT_SET
Keep track of JDK version in order to make some decisions about datastructures.
|
Constructor and Description |
---|
Version() |
Modifier and Type | Method and Description |
---|---|
static String |
getBuildNumber() |
static int |
getJDKVersion()
INTERNAL:
return the JDK version we are using.
|
static String |
getProduct() |
static String |
getVersion() |
static boolean |
isJDK13() |
static boolean |
isJDK14() |
static boolean |
isJDK15() |
static void |
setProduct(String ProductName) |
static void |
useJDK13() |
static void |
useJDK14() |
static void |
useJDK15() |
public static final int JDK_VERSION_NOT_SET
public static final int JDK_1_3
public static final int JDK_1_4
public static final int JDK_1_5
public static int JDK_VERSION
public static String getProduct()
public static void setProduct(String ProductName)
public static String getVersion()
public static String getBuildNumber()
public static int getJDKVersion()
public static void useJDK13()
public static void useJDK14()
public static void useJDK15()
public static boolean isJDK13()
public static boolean isJDK14()
public static boolean isJDK15()
Copyright © 2023. All rights reserved.