↳com.parrot.docdown.DocdownOption
Overview
Doclet command line option parser
Summary
Fields | |
---|---|
private List<IRefProvider> | externalRefProviders |
private List<Path> | includeCodeDirs |
private Path | outputDir |
private List<Path> | projectDocSrcDirs |
private String | title |
Constructors | |
---|---|
public | DocdownOption() |
Methods | |
---|---|
private boolean | addLinkProvider(String url, com.sun.javadoc.DocErrorReporter reporter) |
private boolean | addLinkProvider(String url, String packageListUrl, com.sun.javadoc.DocErrorReporter reporter) |
public Collection<IRefProvider> | getExternalRefProviders() |
public String | getHeadTitle() |
public Collection<Path> | getIncludeDirs() |
public Path | getOutputDir() |
public Collection<Path> | getSrcDirs() |
public int | optionLength(String option) Gets the numer of argument of an option. |
public boolean | parseOptions(String options[][], com.sun.javadoc.DocErrorReporter reporter) Parse command line options. |
private void | printUsage() |
private boolean | setDocSourcePaths(String paths, com.sun.javadoc.DocErrorReporter reporter) |
private boolean | setIncludeCodePaths(String paths, com.sun.javadoc.DocErrorReporter reporter) |
private boolean | setOutputDir(String outputDirName, com.sun.javadoc.DocErrorReporter reporter) |
private boolean | setTitle(String title, com.sun.javadoc.DocErrorReporter reporter) |
from Object |
Fields
private String title
private Path outputDir
Constructors
Methods
public int optionLength(String option)
Gets the numer of argument of an option.
Parameters:
option: the option to get the number of arguments
Returns:
the number of argument of the option
public boolean parseOptions(String options[][], com.sun.javadoc.DocErrorReporter reporter)
Parse command line options.
Parameters:
options: command line options to parse
reporter: error reporter
Returns:
true if options are valid.
private boolean setTitle(String title, com.sun.javadoc.DocErrorReporter reporter)
private boolean setOutputDir(String outputDirName, com.sun.javadoc.DocErrorReporter reporter)
private boolean setDocSourcePaths(String paths, com.sun.javadoc.DocErrorReporter reporter)
private boolean setIncludeCodePaths(String paths, com.sun.javadoc.DocErrorReporter reporter)
private boolean addLinkProvider(String url, com.sun.javadoc.DocErrorReporter reporter)
private boolean addLinkProvider(String url, String packageListUrl, com.sun.javadoc.DocErrorReporter reporter)
public Path getOutputDir()
public String getHeadTitle()