| Modifier and Type | Field and Description |
|---|---|
static String |
OPT_DISABLE_AUTO_HIGHLIGHT |
static String |
OPT_DISABLE_HIGHLIGHT |
static String |
OPT_ENCODING |
static String |
OPT_HIGHLIGHT_STYLE |
static String |
OPT_MARKDOWN_PROCESSOR |
static String |
OPT_OUTPUT_DIR |
static String |
OPT_OVERVIEW |
static String |
OPT_STYLESHEETFILE |
static String |
OPT_TAG |
| Constructor and Description |
|---|
Options() |
| Modifier and Type | Method and Description |
|---|---|
File |
getDestinationDir()
Gets the destination directory.
|
Charset |
getEncoding()
Gets the source encoding.
|
String |
getHighlightStyle() |
String[] |
getMarkedDownTags()
Returns the names of the tags that have been seen in the
-tag options
with an “M” flag. |
File |
getOverviewFile()
Gets the overview file.
|
MarkdownProcessor |
getProcessor()
Returns the processor selected by the options.
|
String[][] |
getProcessorOptions()
Returns the markdown processor options filtered out in
load(String[][], DocErrorReporter). |
File |
getStylesheetFile()
Gets the CSS stylesheet file.
|
protected boolean |
handleOption(Iterator<String[]> optionsIter,
com.sun.javadoc.DocErrorReporter errorReporter) |
boolean |
isHighlightEnabled() |
String[][] |
load(String[][] options,
com.sun.javadoc.DocErrorReporter errorReporter)
Loads the options from the command line.
|
static int |
optionLength(String option) |
void |
setDestinationDir(File destinationDir)
Sets the destination directory.
|
void |
setEncoding(Charset encoding)
Sets the source encoding.
|
void |
setHighlightEnabled(boolean highlightEnabled) |
void |
setHighlightStyle(String highlightStyle) |
void |
setOverviewFile(File overviewFile)
Sets the overview file.
|
void |
setStylesheetFile(File stylesheetFile)
Sets the CSS stylesheet file.
|
static boolean |
validOptions(String[][] options,
com.sun.javadoc.DocErrorReporter errorReporter)
As specified by the Doclet specification.
|
public static final String OPT_MARKDOWN_PROCESSOR
public static final String OPT_DISABLE_HIGHLIGHT
public static final String OPT_DISABLE_AUTO_HIGHLIGHT
public static final String OPT_HIGHLIGHT_STYLE
public static final String OPT_ENCODING
public static final String OPT_OVERVIEW
public static final String OPT_OUTPUT_DIR
public static final String OPT_STYLESHEETFILE
public static final String OPT_TAG
public Options()
public static int optionLength(String option)
public static boolean validOptions(String[][] options, com.sun.javadoc.DocErrorReporter errorReporter)
As specified by the Doclet specification.
options - The command line options.errorReporter - An error reporter to print messages.true if the options are valid.Doclet.validOptions(String[][], com.sun.javadoc.DocErrorReporter)public String[][] load(String[][] options, com.sun.javadoc.DocErrorReporter errorReporter)
Loads the options from the command line.
options - The command line options.errorReporter - The error reporter for printing messages.protected boolean handleOption(Iterator<String[]> optionsIter, com.sun.javadoc.DocErrorReporter errorReporter)
public MarkdownProcessor getProcessor()
Returns the processor selected by the options.
public String[][] getProcessorOptions()
Returns the markdown processor options filtered out in
load(String[][], DocErrorReporter).
public String[] getMarkedDownTags()
Returns the names of the tags that have been seen in the -tag options
with an “M” flag.
public File getOverviewFile()
Gets the overview file.
public void setOverviewFile(File overviewFile)
Sets the overview file.
overviewFile - The overview file.public Charset getEncoding()
Gets the source encoding.
public void setEncoding(Charset encoding)
Sets the source encoding.
encoding - The source encoding.public File getDestinationDir()
Gets the destination directory.
public void setDestinationDir(File destinationDir)
Sets the destination directory.
destinationDir - The destination directorypublic File getStylesheetFile()
Gets the CSS stylesheet file.
public void setStylesheetFile(File stylesheetFile)
Sets the CSS stylesheet file.
stylesheetFile - The stylesheet file.public boolean isHighlightEnabled()
public void setHighlightEnabled(boolean highlightEnabled)
public String getHighlightStyle()
public void setHighlightStyle(String highlightStyle)