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