public class AntContribVersion
extends java.lang.Object
Constructor | Description |
---|---|
AntContribVersion(java.lang.Class c) |
Constructor that takes a class to get the version information
from out of the manifest.
|
Modifier and Type | Method | Description |
---|---|---|
static void |
main(java.lang.String[] args) |
The main program for MockVersion that prints the version info from
the manifest file.
|
java.lang.String |
toString() |
Prints the version info the MockVersion represents.
|
public AntContribVersion(java.lang.Class c)
c
- The Class on whose package to use to get version info.public static void main(java.lang.String[] args)
args
- Ignores all arguments.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()