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<Option> |
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<Option> listOptions()
listOptions in interface OptionHandlerpublic void setOptions(String[] options) throws Exception
setOptions in interface OptionHandleroptions - the list of options as an array of stringsException - if an option is not supportedpublic String[] getOptions()
getOptions in interface OptionHandlerpublic 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 RevisionHandlerpublic static void main(String[] options)
options - the commandline optionsCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.