Class JTSVersion
java.lang.Object
org.locationtech.jts.JTSVersion
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.
- Version:
- 1.7
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JTSVersionThe current version number of the JTS API.static final intThe major version number.static final intThe minor version number.static final intThe patch version number. -
Method Summary
Modifier and TypeMethodDescriptionintgetMajor()Gets the major number of the release version.intgetMinor()Gets the minor number of the release version.intgetPatch()Gets the patch number of the release version.static voidPrints the current JTS version to stdout.toString()Gets the full version number, suitable for display.
-
Field Details
-
CURRENT_VERSION
The current version number of the JTS API. -
MAJOR
public static final int MAJORThe major version number.- See Also:
-
MINOR
public static final int MINORThe minor version number.- See Also:
-
PATCH
public static final int PATCHThe patch version number.- See Also:
-
-
Method Details
-
main
Prints the current JTS version to stdout.- Parameters:
args- the command-line arguments (none are required).
-
getMajor
public int getMajor()Gets the major number of the release version.- Returns:
- the major number of the release version.
-
getMinor
public int getMinor()Gets the minor number of the release version.- Returns:
- the minor number of the release version.
-
getPatch
public int getPatch()Gets the patch number of the release version.- Returns:
- the patch number of the release version.
-
toString
-