Class 
Use 
SUMMARY: NESTED | FIELD | METHOD      DETAIL: FIELD | METHOD
FlexDoc/Javadoc 2.0
Demo Java Doc

jdk.javadoc / jdk.javadoc.doclet
Interface Doclet.Option
Enclosing interface:
Doclet

public static interface Doclet.Option
An encapsulation of option name, aliases, parameters and descriptions as used by the Doclet.

Nested Class Summary
static enum
The kind of an option.
Method Summary
int
Returns the number of arguments, this option will consume.
Returns the description of the option.
Returns the option kind.
Returns the list of names that may be used to identify the option.
Returns the parameters of the option.
boolean
process(String option, List<String> arguments)
Processes the option and arguments as needed.
Method Detail
getArgumentCount
int getArgumentCount
()
Returns the number of arguments, this option will consume.
Returns:
number of consumed arguments

getDescription
String getDescription
()
Returns the description of the option. For instance, the option "group", would return the synopsis of the option such as, "groups the documents".
Returns:
description if set, otherwise an empty String

getKind
()
Returns the option kind.
Returns:
the kind of this option

getNames
List<String> getNames
()
Returns the list of names that may be used to identify the option. For instance, the list could be ["-classpath", "--class-path"] for the option "-classpath", with an alias "--class-path".
Returns:
the names of the option

getParameters
String getParameters
()
Returns the parameters of the option. For instance "name <p1>:<p2>.."
Returns:
parameters if set, otherwise an empty String

process
boolean process
(String option,
 List<String> arguments)
Processes the option and arguments as needed. This method will be invoked if the given option name matches the option.
Parameters:
option - the option
arguments - a list encapsulating the arguments
Returns:
true if operation succeeded, false otherwise

 Class 
Use 
SUMMARY: NESTED | FIELD | METHOD      DETAIL: FIELD | METHOD
FlexDoc/Javadoc 2.0
Demo Java Doc

Java API documentation generated with FlexDoc/Javadoc 2.0 using JavadocClassic 3.0 template set.
FlexDoc/Javadoc is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch, FlexDoc/Javadoc may be the only tool able to help you! Find out more at www.flexdoc.xyz