Class AntContribVersion

java.lang.Object
net.sf.antcontrib.AntContribVersion

public class AntContribVersion extends 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

    Constructors
    Constructor
    Description
    Constructor that takes a class to get the version information from out of the manifest.
  • Method Summary

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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.
      Overrides:
      toString in class Object
      See Also: