Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| GNU Prolog for Java
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## gnu.prolog
Class Version

    java.lang.Object
      gnu.prolog.Version

    public final class Version

extends Object

Version information for gnuprolog

Method Summary
`static int` | `getMajor()`
`static int` | `getMinor()`
`static String` | `getReleaseType()`
`static int` | `getRevision()`
`static String` | `getVersion()`
`static int` | `intEncoded()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getVersion

    public static String getVersion()

  Returns:
    the version string

### getMajor

    public static int getMajor()

  Returns:
    the major version number

### getMinor

    public static int getMinor()

  Returns:
    the minor version number

### getRevision

    public static int getRevision()

  Returns:
    the revision number

### intEncoded

    public static int intEncoded()

  Returns:
    10000 * Major + 100 * Minor + Revision

### getReleaseType

    public static String getReleaseType()

  Returns:
    the release type: alpha, beta, rc, or null for stable releases

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| GNU Prolog for Java
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD