net.sf.antcontrib

Class AntContribVersion


public class AntContribVersion
extends java.lang.Object

Author:
Dean Hiller To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Constructor Summary

AntContribVersion(Class c)
Constructor that takes a class to get the version information from out of the manifest.

Method Summary

static void
main(String[] args)
The main program for MockVersion that prints the version info from the manifest file.
String
toString()
Prints the version info the MockVersion represents.

Constructor Details

AntContribVersion

public AntContribVersion(Class c)
Constructor that takes a class to get the version information from out of the manifest. Uses the class's package to retrieve the manifest version info.
Parameters:
c - The Class on whose package to use to get version info.

Method Details

main

public static void main(String[] args)
The main program for MockVersion that prints the version info from the manifest file.
Parameters:
args - Ignores all arguments.

toString

public String toString()
Prints the version info the MockVersion represents.
See Also:
java.lang.Object.toString()