oracle.panama.util
Class VersionDetector

java.lang.Object
  |
  +--oracle.panama.util.VersionDetector

public class VersionDetector
extends java.lang.Object


Constructor Summary
VersionDetector()
           
 
Method Summary
TypeMethod
static java.lang.String getJavaVersion()
          Determines the JDK version number.
static java.lang.String getServletVersion()
          Determines the Servlet API version number.
static boolean isJavaBeyond(java.lang.String version)
           
static boolean isServletBeyond(java.lang.String version)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionDetector

public VersionDetector()
Method Detail

isServletBeyond

public static boolean isServletBeyond(java.lang.String version)

isJavaBeyond

public static boolean isJavaBeyond(java.lang.String version)

getServletVersion

public static java.lang.String getServletVersion()
Determines the Servlet API version number.
Returns:
a String representation of the servlet version

getJavaVersion

public static java.lang.String getJavaVersion()
Determines the JDK version number.
Returns:
a String representation of the JDK version