Package weka.core
Class TechnicalInformationHandlerJavadoc
java.lang.Object
weka.core.Javadoc
weka.core.TechnicalInformationHandlerJavadoc
- All Implemented Interfaces:
OptionHandler
,RevisionHandler
Generates Javadoc comments from the TechnicalInformationHandler's data.
Update the BibTex references and the plaintext techincal information.
Valid options are:
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.
-noprolog Suppresses the 'BibTex:' prolog in the Javadoc.
- Version:
- $Revision: 14293 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
the end comment tag for inserting the generated BibTexstatic final String
the start comment tag for inserting the generated BibTexstatic final String
the end comment tag for inserting the generated BibTexstatic final String
the start comment tag for inserting the generated BibTex -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
Gets the current settings of this object.boolean
whether "Valid options are..." prolog is included in the JavadocReturns the revision string.Returns an enumeration describing the available options.static void
Parses the given commandline parameters and generates the Javadoc.void
setOptions
(String[] options) Parses a given list of options.void
setProlog
(boolean value) sets whether to add the "Valid options are..." prologMethods inherited from class weka.core.Javadoc
generate, generateHelp, getClassname, getDir, getSilent, getUseStars, setClassname, setDir, setSilent, setUseStars, updateJavadoc
-
Field Details
-
PLAINTEXT_STARTTAG
the start comment tag for inserting the generated BibTex- See Also:
-
PLAINTEXT_ENDTAG
the end comment tag for inserting the generated BibTex- See Also:
-
BIBTEX_STARTTAG
the start comment tag for inserting the generated BibTex- See Also:
-
BIBTEX_ENDTAG
the end comment tag for inserting the generated BibTex- See Also:
-
-
Constructor Details
-
TechnicalInformationHandlerJavadoc
public TechnicalInformationHandlerJavadoc()default constructor
-
-
Method Details
-
listOptions
Returns an enumeration describing the available options.- Specified by:
listOptions
in interfaceOptionHandler
- Overrides:
listOptions
in classJavadoc
- Returns:
- an enumeration of all the available options.
-
setOptions
Parses a given list of options.- Specified by:
setOptions
in interfaceOptionHandler
- Overrides:
setOptions
in classJavadoc
- Parameters:
options
- the list of options as an array of strings- Throws:
Exception
- if an option is not supported
-
getOptions
Gets the current settings of this object.- Specified by:
getOptions
in interfaceOptionHandler
- Overrides:
getOptions
in classJavadoc
- Returns:
- an array of strings suitable for passing to setOptions
-
setProlog
public void setProlog(boolean value) sets whether to add the "Valid options are..." prolog- Parameters:
value
- true if the prolog is to be used
-
getProlog
public boolean getProlog()whether "Valid options are..." prolog is included in the Javadoc- Returns:
- whether the prolog is currently used
-
getRevision
Returns the revision string.- Returns:
- the revision
-
main
Parses the given commandline parameters and generates the Javadoc.- Parameters:
args
- the commandline parameters for the object
-