com.vividsolutions.jts
Class JTSVersion
java.lang.Object
com.vividsolutions.jts.JTSVersion
public class JTSVersion
extends java.lang.Object
JTS API version information.
Versions consist of a 3-part version number:
major.minor.patch
An optional release status string may be present in the string version of
the version.
int | getMajor() - Gets the major number of the release version.
|
int | getMinor() - Gets the minor number of the release version.
|
int | getPatch() - Gets the patch number of the release version.
|
static void | main(String[] args) - Prints the current JTS version to stdout.
|
String | toString() - Gets the full version number, suitable for display.
|
CURRENT_VERSION
public static final JTSVersion CURRENT_VERSION
The current version number of the JTS API.
MAJOR
public static final int MAJOR
The major version number.
MINOR
public static final int MINOR
The minor version number.
PATCH
public static final int PATCH
The patch version number.
getMajor
public int getMajor()
Gets the major number of the release version.
- the major number of the release version.
getMinor
public int getMinor()
Gets the minor number of the release version.
- the minor number of the release version.
getPatch
public int getPatch()
Gets the patch number of the release version.
- the patch number of the release version.
main
public static void main(String[] args)
Prints the current JTS version to stdout.
args
- the command-line arguments (none are required).
toString
public String toString()
Gets the full version number, suitable for display.
- the full version number, suitable for display.