gnu.prolog
Class Version
java.lang.Object
gnu.prolog.Version
public final class Version
- extends Object
Version information for gnuprolog
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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