Package net.ontopia
Class Ontopia
java.lang.Object
net.ontopia.Ontopia
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
Modifier and TypeMethodDescriptionstatic voidcheck()INTERNAL: Check to see whether the JVM environment is correctly set up for this product.static voidINTERNAL: Check to see whether the CLASSPATH has been set up correctly for this product.static intPUBLIC: Returns the product beta version number.static StringgetBuild()PUBLIC: Returns a formatted string with product the build date and build user.static CalendarPUBLIC: Returns the time when the product was built.static StringPUBLIC: Returns the product build user.static StringgetInfo()static intPUBLIC: Returns the product major version number.static intPUBLIC: Returns the product micro version number.static intPUBLIC: Returns the product minor version number.static StringgetName()PUBLIC: Returns the product name.static StringPUBLIC: Returns the product version.static booleanisBeta()PUBLIC: Returns true if the product is a beta release.static void
-
Method Details
-
getName
PUBLIC: Returns the product name. -
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: Returns the time when the product was built. -
getBuildUser
PUBLIC: Returns the product build user. -
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
-
main
-