public class VersionDetector extends Object
It can be used like this:
String servletVersion = VersionDetector.getServletVersion(); String javaVersion = VersionDetector.getJavaVersion();
Modifier and Type | Field and Description |
---|---|
(package private) static String |
javaVersion |
(package private) static String |
servletVersion |
Constructor and Description |
---|
VersionDetector() |
Modifier and Type | Method and Description |
---|---|
static String |
getJavaVersion()
Determines the JDK version number.
|
static String |
getServletVersion()
Determines the Servlet API version number.
|
static String servletVersion
static String javaVersion
public VersionDetector()
public static String getServletVersion()
public static String getJavaVersion()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses