public static interface Doclet.Option
Modifier and Type | Interface | Description |
---|---|---|
static class |
Doclet.Option.Kind |
The kind of an option.
|
Modifier and Type | Method | 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.
|
List<String> |
getNames() |
Returns the list of names that may be used to identify the option.
|
String |
getParameters() |
Returns the parameters of the option.
|
boolean |
process(String option,
List<String> arguments) |
Processes the option and arguments as needed.
|
int getArgumentCount()
String getDescription()
Doclet.Option.Kind getKind()
List<String> getNames()
["-classpath", "--class-path"]
for the
option "-classpath", with an alias "--class-path".String getParameters()
boolean process(String option, List<String> arguments)
option
- the optionarguments
- a list 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, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b154-1