public class GlobalInfoJavadoc 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.
GLOBALINFO_METHOD,
GLOBALINFO_STARTTAG,
GLOBALINFO_ENDTAG| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
GLOBALINFO_ENDTAG
the end comment tag for inserting the generated Javadoc
|
static java.lang.String |
GLOBALINFO_METHOD
the globalInfo method name
|
static java.lang.String |
GLOBALINFO_STARTTAG
the start comment tag for inserting the generated Javadoc
|
m_Classname, m_Dir, m_EndTag, m_Silent, m_StartTag, m_UseStars| Constructor and Description |
|---|
GlobalInfoJavadoc()
default constructor
|
| 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.
|
canInstantiateClass, generate, generateHelp, generateJavadoc, getClassname, getDir, getIndentionLength, getIndentionString, getInstance, getOptions, getSilent, getUseStars, indent, listOptions, println, runJavadoc, setClassname, setDir, setOptions, setSilent, setUseStars, toHTML, updateJavadoc, updateJavadoc, updateJavadocpublic static final java.lang.String GLOBALINFO_METHOD
public static final java.lang.String GLOBALINFO_STARTTAG
public static final java.lang.String GLOBALINFO_ENDTAG
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 failspublic java.lang.String getRevision()
public static void main(java.lang.String[] args)
args - the commandline parameters for the object