| java.lang.Object com.sun.tools.javadoc.DocletInvoker
DocletInvoker | public class DocletInvoker (Code) | | Class creates, controls and invokes doclets.
author: Neal Gafter (rewrite) |
Method Summary | |
static URL | fileToURL(File file) Returns the directory or JAR file URL corresponding to the specified
local file name. | public LanguageVersion | languageVersion() Return the language version supported by this doclet. | public int | optionLength(String option) Check for doclet added options here. | static URL[] | pathToURLs(String path) Utility method for converting a search path string to an array
of directory and JAR file URLs. | public boolean | start(RootDoc root) Generate documentation here. | public boolean | validOptions(List<String[]> optlist) Let doclet check that all options are OK. |
fileToURL | static URL fileToURL(File file)(Code) | | Returns the directory or JAR file URL corresponding to the specified
local file name.
Parameters: file - the File object the resulting directory or JAR file URL, or null if unknown |
languageVersion | public LanguageVersion languageVersion()(Code) | | Return the language version supported by this doclet.
If the method does not exist in the doclet, assume version 1.1.
|
optionLength | public int optionLength(String option)(Code) | | Check for doclet added options here. Zero return means
option not known. Positive value indicates number of
arguments to option. Negative value means error occurred.
|
pathToURLs | static URL[] pathToURLs(String path)(Code) | | Utility method for converting a search path string to an array
of directory and JAR file URLs.
Parameters: path - the search path string the resulting array of directory and JAR file URLs |
start | public boolean start(RootDoc root)(Code) | | Generate documentation here. Return true on success.
|
validOptions | public boolean validOptions(List<String[]> optlist)(Code) | | Let doclet check that all options are OK. Returning true means
options are OK. If method does not exist, assume true.
|
|
|