gecco.util
Class JavaVersion

java.lang.Object
  |
  +--gecco.util.VersionNumber
        |
        +--gecco.util.JavaVersion
All Implemented Interfaces:
Comparable

public class JavaVersion
extends VersionNumber

A subclass of VersionNumber that is initialized to the system property java.version.

Author:
Karl Hasselström

Constructor Summary
JavaVersion()
          Constructs a JavaVersion with the version number specified in the system property java.version.
 
Methods inherited from class gecco.util.VersionNumber
atLeast, compareTo, compareTo, equals, greaterThan, hashCode, lessThan, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaVersion

public JavaVersion()
            throws SecurityException
Constructs a JavaVersion with the version number specified in the system property java.version.
Throws:
SecurityException - If we were not allowed to see the system property java.version.