JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.swing
Class Version

java.lang.Object
  |
  +--com.klg.jclass.swing.Version

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.


Constructor Summary
Version()
           
 
Method Summary
static String getVersionString()
          Retrieves the version string for the specified 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
 

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()
Retrieves the version string for the specified package.

Returns:
the version String for this package

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