gov.nih.nlm.util
Class Version

java.lang.Object
  extended bygov.nih.nlm.util.Version

public class Version
extends Object

The Version class aggregates change information for the gov.nih.nlm.util package. Eventually, it may be used to maintain its own version information. History:

06/17/2005
Changes to SystemToolkit: Methods for getting index words (including a stop word list) were added. Some progress monitor code in unzip methods was improved. Sort now properly sort uniques on a single chunk (doesn't require merge to do the uniqueing). Sort uses chunks of a certain size instead of a certain line count. Sort helper method uses a bigger buffer for input/output streams. ObjectXMLSerializer now supports Properties and Hashtable objects correctly.
01/14/2005
SystemToolkit now has a method for computing a "cross platform md5". It mimicks a true MD5 on solaris by ignoring local line termination characters.
12/27/2004
Version tracking class was created.

Author:
MEME Group

Constructor Summary
Version()
           
 
Method Summary
static String getAuthority()
          Returns the package current version authority.
static Date getDate()
          Returns the package current version date.
static String getPackage()
          Returns the package current package name.
static int getRelease()
          Returns the package current release.
static double getVersion()
          Returns the package current version.
static String getVersionInformation()
          Returns the package current version information.
static void main(String[] argv)
          This can be used to print package version information on the command line.
 
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

getRelease

public static int getRelease()
Returns the package current release.

Returns:
An int representation of package current release.

getVersion

public static double getVersion()
Returns the package current version.

Returns:
A double representation of package current version.

getAuthority

public static String getAuthority()
Returns the package current version authority.

Returns:
An object String representation of package current version authority.

getDate

public static Date getDate()
Returns the package current version date.

Returns:
An object Date representation of package current version date.

getPackage

public static String getPackage()
Returns the package current package name.

Returns:
An object String representation of package current name.

getVersionInformation

public static String getVersionInformation()
Returns the package current version information.

Returns:
An object String representation of package current version information.

main

public static void main(String[] argv)
This can be used to print package version information on the command line.

Parameters:
argv - An array of string argument.


Copyright ©2005