net.ontopia
Class Ontopia

java.lang.Object
  extended by net.ontopia.Ontopia

public final class Ontopia
extends java.lang.Object

INTERNAL: Class for representing information about a the Ontopia product and a method for testing if the product is correctly installed.

Information about the product release can be retrieved through the methods on this class.


Method Summary
static void check()
          INTERNAL: Check to see whether the JVM environment is correctly set up for this product.
static void checkClasses()
          INTERNAL: Check to see whether the CLASSPATH has been set up correctly for this product.
static int getBetaVersion()
          PUBLIC: Returns the product beta version number.
static java.lang.String getBuild()
          PUBLIC: Returns a formatted string with product the build date and build user.
static java.util.Calendar getBuildDate()
          PUBLIC: Returns the time when the product was built.
static java.lang.String getBuildUser()
          PUBLIC: Returns the product build user.
static java.lang.String getInfo()
           
static int getMajorVersion()
          PUBLIC: Returns the product major version number.
static int getMicroVersion()
          PUBLIC: Returns the product micro version number.
static int getMinorVersion()
          PUBLIC: Returns the product minor version number.
static java.lang.String getName()
          PUBLIC: Returns the product name.
static java.lang.String getVersion()
          PUBLIC: Returns the product version.
static boolean isBeta()
          PUBLIC: Returns true if the product is a beta release.
static void main(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public static java.lang.String getName()
PUBLIC: Returns the product name.


getVersion

public static java.lang.String getVersion()
PUBLIC: Returns the product version. E.g. "1.0, "1.4.2" or "1.4.0 b3".


getMajorVersion

public static int getMajorVersion()
PUBLIC: Returns the product major version number. E.g. 1 when the version number is 1.4.2.


getMinorVersion

public static int getMinorVersion()
PUBLIC: Returns the product minor version number. E.g. 4 when the version number is 1.4.2.


getMicroVersion

public static int getMicroVersion()
PUBLIC: Returns the product micro version number. E.g. 2 when the version number is 1.4.2. If this version number isn't applicable -1 is returned.


getBetaVersion

public static int getBetaVersion()
PUBLIC: Returns the product beta version number. E.g. 3 when the version number is 1.4.2 b3. If this version number isn't applicable -1 is returned.


isBeta

public static boolean isBeta()
PUBLIC: Returns true if the product is a beta release.


getBuildDate

public static java.util.Calendar getBuildDate()
PUBLIC: Returns the time when the product was built.


getBuildUser

public static java.lang.String getBuildUser()
PUBLIC: Returns the product build user.


getBuild

public static java.lang.String getBuild()
PUBLIC: Returns a formatted string with product the build date and build user.


checkClasses

public static void checkClasses()
INTERNAL: Check to see whether the CLASSPATH has been set up correctly for this product.


check

public static void check()
INTERNAL: Check to see whether the JVM environment is correctly set up for this product.


getInfo

public static java.lang.String getInfo()

main

public static void main(java.lang.String[] argv)


Copyright © 2000-2012 Ontopia.