Class JTSVersion


  • public class JTSVersion
    extends 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.

    Version:
    1.7
    • Field Detail

      • CURRENT_VERSION

        public static final JTSVersion CURRENT_VERSION
        The current version number of the JTS API.
    • Method Detail

      • main

        public static void main​(String[] args)
        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

        public String toString()
        Gets the full version number, suitable for display.
        Overrides:
        toString in class Object
        Returns:
        the full version number, suitable for display.