|
qflib 0.98.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.qfs.lib.Version
This class provides access to the qflib version number. The version is composed of a major a minor and a release part.
Releases of qflib with different major version are generally considered incompatible. Differences in minor version are also considered incompatible, but may not be fatal.
The release number is increased for bug fixes and extensions that do not change any visible interfaces.
Field Summary | |
static java.lang.String |
JDK_VERSION
The JDK version to which this qflib version is compatible. |
static int |
MAJOR
The major version. |
static int |
MINOR
The minor version. |
static int |
RELEASE
The release number. |
Constructor Summary | |
Version()
|
Method Summary | |
static java.lang.String |
getVersion()
Get the full qflib version as a String. |
static void |
main(java.lang.String[] argv)
Dump the version numbers for this release to System.out. With argument -version print the whole version number. With argument -major print only the major number. With argument -minor print only the minor number. With argument -release print only the release number. With argument -jdk print only the JDK version for which this qflib version was compiled. Otherwise print a message containing the full version. |
static boolean |
require(int major,
int minor,
int release)
Check, whether this release of qflib is compatible with the required version. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int MAJOR
public static final int MINOR
public static final int RELEASE
public static final java.lang.String JDK_VERSION
Constructor Detail |
public Version()
Method Detail |
public static java.lang.String getVersion()
public static final boolean require(int major, int minor, int release)
major
- The required major version. Must be equal to
MAJOR
.minor
- The required minor version. Must be equal to
MINOR
.release
- The required major version. Must be less than or equal
to RELEASE
.public static void main(java.lang.String[] argv)
|
qflib 0.98.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |