Package weka.core

Class GlobalInfoJavadoc

java.lang.Object
weka.core.Javadoc
weka.core.GlobalInfoJavadoc
All Implemented Interfaces:
OptionHandler, RevisionHandler

public class GlobalInfoJavadoc extends Javadoc
Generates Javadoc comments from the class's globalInfo method. Can automatically update the comments if they're surrounded by the GLOBALINFO_STARTTAG and GLOBALINFO_ENDTAG (the indention is determined via the GLOBALINFO_STARTTAG).

Valid options are:
 -W <classname>
  The class to load.
 -nostars
  Suppresses the '*' in the Javadoc.
 -dir <dir>
  The directory above the package hierarchy of the class.
 -silent
  Suppresses printing in the console.
Version:
$Revision: 11736 $
Author:
fracpete (fracpete at waikato dot ac dot nz)
See Also:
  • Field Details

    • GLOBALINFO_METHOD

      public static final String GLOBALINFO_METHOD
      the globalInfo method name
      See Also:
    • GLOBALINFO_STARTTAG

      public static final String GLOBALINFO_STARTTAG
      the start comment tag for inserting the generated Javadoc
      See Also:
    • GLOBALINFO_ENDTAG

      public static final String GLOBALINFO_ENDTAG
      the end comment tag for inserting the generated Javadoc
      See Also:
  • Constructor Details

    • GlobalInfoJavadoc

      public GlobalInfoJavadoc()
      default constructor
  • Method Details

    • getRevision

      public String getRevision()
      Returns the revision string.
      Returns:
      the revision
    • main

      public static void main(String[] args)
      Parses the given commandline parameters and generates the Javadoc.
      Parameters:
      args - the commandline parameters for the object