public class TechnicalInformationHandlerJavadoc extends Javadoc
-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.
PLAINTEXT_STARTTAG,
PLAINTEXT_ENDTAG,
BIBTEX_STARTTAG,
BIBTEX_ENDTAG| Modifier and Type | Field and Description |
|---|---|
static String |
BIBTEX_ENDTAG
the end comment tag for inserting the generated BibTex
|
static String |
BIBTEX_STARTTAG
the start comment tag for inserting the generated BibTex
|
protected boolean |
m_Prolog
whether to include the "Valid options..." prolog in the Javadoc
|
static String |
PLAINTEXT_ENDTAG
the end comment tag for inserting the generated BibTex
|
static String |
PLAINTEXT_STARTTAG
the start comment tag for inserting the generated BibTex
|
m_Classname, m_Dir, m_EndTag, m_Silent, m_StartTag, m_UseStars| Constructor and Description |
|---|
TechnicalInformationHandlerJavadoc()
default constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
generateJavadoc(int index)
generates and returns the Javadoc for the specified start/end tag pair.
|
String[] |
getOptions()
Gets the current settings of this object.
|
boolean |
getProlog()
whether "Valid options are..." prolog is included in the Javadoc
|
String |
getRevision()
Returns the revision string.
|
Enumeration |
listOptions()
Returns an enumeration describing the available options.
|
static void |
main(String[] args)
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..." prolog
|
canInstantiateClass, generate, generateHelp, generateJavadoc, getClassname, getDir, getIndentionLength, getIndentionString, getInstance, getSilent, getUseStars, indent, println, runJavadoc, setClassname, setDir, setSilent, setUseStars, toHTML, updateJavadoc, updateJavadoc, updateJavadocpublic static final String PLAINTEXT_STARTTAG
public static final String PLAINTEXT_ENDTAG
public static final String BIBTEX_STARTTAG
public static final String BIBTEX_ENDTAG
protected boolean m_Prolog
public TechnicalInformationHandlerJavadoc()
public Enumeration listOptions()
listOptions in interface OptionHandlerlistOptions in class Javadocpublic void setOptions(String[] options) throws Exception
setOptions in interface OptionHandlersetOptions in class Javadocoptions - the list of options as an array of stringsException - if an option is not supportedpublic String[] getOptions()
getOptions in interface OptionHandlergetOptions in class Javadocpublic void setProlog(boolean value)
value - true if the prolog is to be usedpublic boolean getProlog()
protected String generateJavadoc(int index) throws Exception
generateJavadoc in class Javadocindex - the index in the start/end tag arrayException - in case the generation failspublic String getRevision()
public static void main(String[] args)
args - the commandline parameters for the objectCopyright © 2015 University of Waikato, Hamilton, NZ. All rights reserved.