public class ListOptions extends java.lang.Object implements OptionHandler, RevisionHandler
Constructor and Description |
---|
ListOptions() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generate()
generates the options string.
|
java.lang.String |
generateHelp()
generates a string to print as help on the console
|
java.lang.String |
getClassname()
returns the current classname
|
java.lang.String[] |
getOptions()
Gets the current settings of this object.
|
java.lang.String |
getRevision()
Returns the revision string.
|
java.util.Enumeration |
listOptions()
Returns an enumeration describing the available options.
|
static void |
main(java.lang.String[] options)
runs the javadoc producer with the given commandline options
|
void |
setClassname(java.lang.String value)
sets the classname of the class to generate the Javadoc for
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
public java.util.Enumeration listOptions()
listOptions
in interface OptionHandler
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface OptionHandler
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supportedpublic java.lang.String[] getOptions()
getOptions
in interface OptionHandler
public void setClassname(java.lang.String value)
value
- the new classnamepublic java.lang.String getClassname()
public java.lang.String generateHelp()
public java.lang.String generate() throws java.lang.Exception
java.lang.Exception
- in case the generation failspublic java.lang.String getRevision()
getRevision
in interface RevisionHandler
public static void main(java.lang.String[] options)
options
- the commandline options