public class Version extends Object
Modifier and Type | Field | Description |
---|---|---|
static int |
MAJOR |
The major release number
|
static int |
MINOR |
The minor release number
|
static int |
PATCH |
The patchlevel of the current release
|
Constructor | Description |
---|---|
Version() |
Modifier and Type | Method | Description |
---|---|---|
static int |
getMajor() |
Returns the major release number.
|
static int |
getMinor() |
Returns the minor release number.
|
static int |
getPatch() |
Returns the patch level.
|
static String |
getVersion() |
Returns the current version as string in the form MAJOR.MINOR.PATCH.
|
static void |
main(String[] args) |
Returns the version for the Java CoG Kit as a readble string.
|
public static final int MAJOR
public static final int MINOR
public static final int PATCH
public static String getVersion()
public static int getMajor()
public static int getMinor()
public static int getPatch()
public static void main(String[] args)
args
- Copyright © 2018. All rights reserved.