Doclet
public static interface Doclet.Option
Modifier and Type | Interface | Description |
---|---|---|
static enum |
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 |
getNames() |
Returns the list of names that may be used to identify the option. |
String |
getParameters() |
Returns the parameters of the option. |
boolean |
process |
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
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/jdk.javadoc/jdk/javadoc/doclet/Doclet.Option.html