public static interface Doclet.Option
Modifier and Type | Interface and Description |
---|---|
static class |
Doclet.Option.Kind
The kind of an option.
|
Modifier and Type | Method and Description |
---|---|
int |
getArgumentCount()
Returns the number of arguments, this option will consume.
|
String |
getDescription()
Returns the description of the option.
|
Doclet.Option.Kind |
getKind()
Returns the option kind.
|
String |
getName()
Returns the option name.
|
String |
getParameters()
Returns the parameters of the option.
|
boolean |
matches(String option)
Checks if the given option name is handled by this option.
|
boolean |
process(String option,
ListIterator<String> arguments)
Processes the option and arguments as needed.
|
int getArgumentCount()
String getDescription()
Doclet.Option.Kind getKind()
String getName()
String getParameters()
boolean matches(String option)
option
- the option name with or without the leading "-"boolean process(String option, ListIterator<String> arguments)
option
- the optionarguments
- a ListIterator encapsulating the arguments Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b134-2