|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.core.JdkVersion
Class used to find the current Java/JDK version. Usually we want to find if we're in a 1.4 or higher JVM. (Spring does not support 1.2 JVMs.)
Field Summary | |
static int |
JAVA_13
|
static int |
JAVA_14
|
static int |
JAVA_15
|
Constructor Summary | |
JdkVersion()
|
Method Summary | |
static int |
getMajorJavaVersion()
Get the major version code. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int JAVA_13
public static final int JAVA_14
public static final int JAVA_15
Constructor Detail |
public JdkVersion()
Method Detail |
public static int getMajorJavaVersion()
if getMajorJavaVersion() < JAVA_14
.
JAVA_13
,
JAVA_14
,
JAVA_15
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |