Package net.ontopia

Class Ontopia

java.lang.Object
net.ontopia.Ontopia

public final class Ontopia extends 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 Details

    • getName

      public static String getName()
      PUBLIC: Returns the product name.
    • getVersion

      public static 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 Calendar getBuildDate()
      PUBLIC: Returns the time when the product was built.
    • getBuildUser

      public static String getBuildUser()
      PUBLIC: Returns the product build user.
    • getBuild

      public static 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 String getInfo()
    • main

      public static void main(String[] argv)