public class AllJavadoc 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.
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.Vector<Javadoc> |
m_Javadocs
contains all the
|
m_Classname, m_Dir, m_EndTag, m_Silent, m_StartTag, m_UseStars| Constructor and Description |
|---|
AllJavadoc() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
generateJavadoc(int index)
generates and returns the Javadoc for the specified start/end tag pair.
|
java.lang.String |
getRevision()
Returns the revision string.
|
static void |
main(java.lang.String[] args)
Parses the given commandline parameters and generates the Javadoc.
|
void |
setClassname(java.lang.String value)
sets the classname of the class to generate the Javadoc for
|
void |
setSilent(boolean value)
sets whether to suppress output in the console
|
void |
setUseStars(boolean value)
sets whether to prefix the Javadoc with "*"
|
protected java.lang.String |
updateJavadoc(java.lang.String content)
updates the Javadoc in the given source code, using all the found Javadoc
updaters.
|
canInstantiateClass, generate, generateHelp, generateJavadoc, getClassname, getDir, getIndentionLength, getIndentionString, getInstance, getOptions, getSilent, getUseStars, indent, listOptions, println, runJavadoc, setDir, setOptions, toHTML, updateJavadoc, updateJavadocprotected static java.util.Vector<Javadoc> m_Javadocs
public void setClassname(java.lang.String value)
setClassname in class Javadocvalue - the new classnamepublic void setUseStars(boolean value)
setUseStars in class Javadocvalue - true if stars are to be usedpublic void setSilent(boolean value)
protected java.lang.String generateJavadoc(int index)
throws java.lang.Exception
generateJavadoc in class Javadocindex - the index in the start/end tag arrayjava.lang.Exception - in case the generation failsprotected java.lang.String updateJavadoc(java.lang.String content)
throws java.lang.Exception
updateJavadoc in class Javadoccontent - the source codejava.lang.Exception - in case the generation failspublic java.lang.String getRevision()
public static void main(java.lang.String[] args)
args - the commandline parameters for the object