Class Version

java.lang.Object
net.java.games.input.Version

public final class Version extends Object
The version and build number of this implementation. Version numbers for a release are of the form: w.x.y, where:
  • w - the major version number of the release. This number should start at 1. Typically, a bump in the major version number signifies that the release breaks backwards compatibility with some older release.
  • x - minor version number. This number starts at 0. A bump in the minor version number signifies a release that has significant new functionality.
  • y - minor-minor version number number. This number starts at 0. A bump in the minor-minor version number signifies that new bug fixes have been added to the build.
For example, the following are all valid version strings:
  • 1.1.2
  • 1.3.5-SNAPSHOT
  • 4.7.1-M2
  • Method Details

    • main

      public static void main(String[] args)
    • getVersion

      public static String getVersion()
      Returns the verison string and build number of this implementation. See the class descritpion for the version string format.
      Returns:
      The version string of this implementation.