JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util
Class Version

java.lang.Object
  |
  +--com.klg.jclass.util.Version
Direct Known Subclasses:
JCVersion, JCVersion, JCVersion, JCVersion, JCVersion, JCVersion, JCVersion, JCVersion, JCVersion, JCVersion

public class Version
extends Object

Version is a base class for classes that determine, display and verify the version number for a JClass package. java.lang.Package provides all the information needed for version checking. However, Package only works if a class from the package has been loaded. JCVersion classes are used as a reference point to ensure that the package has been loaded into the VM.


Field Summary
static String BUILD_NUMBER
           
static String CLIENT_LICENSE_VERSION
           
static String LICENSE_VERSION
           
static String VERSION
           
protected static Hashtable versionHashTable
          Stores the version string.
 
Constructor Summary
Version()
           
 
Method Summary
static String getVersionString()
          Gets the version number for the current package.
static String getVersionString(String pkg)
          Retrieves the version string for the specified package.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionHashTable

protected static Hashtable versionHashTable
Stores the version string.


VERSION

public static final String VERSION
See Also:
Constant Field Values

CLIENT_LICENSE_VERSION

public static final String CLIENT_LICENSE_VERSION
See Also:
Constant Field Values

LICENSE_VERSION

public static final String LICENSE_VERSION
See Also:
Constant Field Values

BUILD_NUMBER

public static final String BUILD_NUMBER
Constructor Detail

Version

public Version()
Method Detail

getVersionString

public static String getVersionString(String pkg)
Retrieves the version string for the specified package.

Parameters:
pkg - Name of the package for which to retrieve the version number.
Returns:
the version String for the specified package package

getVersionString

public static String getVersionString()
Gets the version number for the current package.

Returns:
the version number for this package

Copyright © 2004 Quest Software Inc..
All rights reserved.