public final class TokenTypesDoclet
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
DEST_FILE_OPT
Command line option to specify file to write output of the doclet.
|
Modifier | Constructor and Description |
---|---|
private |
TokenTypesDoclet()
Stop instances being created.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
checkOptions(java.lang.String[][] options,
com.sun.javadoc.DocErrorReporter reporter)
Checks that only valid options was specified.
|
private static java.lang.String |
getDestFileName(java.lang.String[]... options)
Reads destination file name.
|
static int |
optionLength(java.lang.String option)
Returns option length (how many parts are in option).
|
static boolean |
start(com.sun.javadoc.RootDoc root)
The doclet's starter method.
|
private static final java.lang.String DEST_FILE_OPT
public static boolean start(com.sun.javadoc.RootDoc root) throws java.io.FileNotFoundException
root
- RootDoc
given to the docletRootDoc
is processed.java.io.FileNotFoundException
- will be thrown if the doclet
will be unable to write to the specified file.public static int optionLength(java.lang.String option)
option
- option name to processpublic static boolean checkOptions(java.lang.String[][] options, com.sun.javadoc.DocErrorReporter reporter)
options
- all parsed optionsreporter
- the reporter to report errors.private static java.lang.String getDestFileName(java.lang.String[]... options)
options
- all specified options.