GNU Prolog for Java

gnu.prolog
Class Version

java.lang.Object
  extended by 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

GNU Prolog for Java