cs1705
Class Version

java.lang.Object
  extended bycs1705.Version

public class Version
extends Object

This class allows access to the package version information. The version identification can be retrieved using the version() method. Alternatively, you can run this class as a main program to print out the version information:

      C:\> java -cp C:/BlueJ/lib/cs1705.jar cs1705.Version

      cs1705.Version: package cs1705, v1.6 2003-11-12
  

Version:
2003.11.12
Author:
Stephen Edwards

Constructor Summary
Version()
          Create a new Version object.
 
Method Summary
static void main(String[] args)
          This main method simply prints out the version information on System.out.
static String version()
          Retrieve the current version information for this class (and this class jar/library) as a string.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Version

public Version()
Create a new Version object.

Method Detail

main

public static void main(String[] args)
This main method simply prints out the version information on System.out.


version

public static String version()
Retrieve the current version information for this class (and this class jar/library) as a string.

Returns:
the version information as a string