| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private PrintWriter | |
| private StandardJavaFileManager | |
| private PrintWriter |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static int | Returns: The return code.the command-line parameters args, PrintWriter a stream for all output writer)Programmatic interface. |
| public static int | Returns: The return code.the command-line parameters args, PrintWriter a stream for expected output outWriter, PrintWriter a stream for diagnostic output errWriter)Programmatic interface. |
| public static void | |
| public Main. | |
| public Main | Returns: this objectthe file manager to use fileManager)Sets the file manager to be used when running javadoc. |
| public Main | Returns: this objectthe output stream outWriter, PrintWriter the error stream errWriter)Sets the output and error streams to be used when running javadoc. |
| errWriter | back to summary |
|---|---|
| private PrintWriter errWriter | |
| fileManager | back to summary |
|---|---|
| private StandardJavaFileManager fileManager | |
| outWriter | back to summary |
|---|---|
| private PrintWriter outWriter | |
| Main | back to summary |
|---|---|
| public Main() Creates a default builder to run javadoc. | |
| execute | back to summary |
|---|---|
| public static int execute(String... args) Programmatic interface.
| |
| execute | back to summary |
|---|---|
| public static int execute(String[] args, PrintWriter writer) Programmatic interface.
| |
| execute | back to summary |
|---|---|
| public static int execute(String[] args, PrintWriter outWriter, PrintWriter errWriter) Programmatic interface.
| |
| main | back to summary |
|---|---|
| public static void main(String... args) The main entry point called by the launcher. This will call System.exit with an appropriate return value.
| |
| run | back to summary |
|---|---|
| public Main. Runs javadoc with preconfigured values and a given set of arguments.
Any errors will be reported to the error stream, or to | |
| setFileManager | back to summary |
|---|---|
| public Main setFileManager(StandardJavaFileManager fileManager) Sets the file manager to be used when running javadoc.
A value of
| |
| setStreams | back to summary |
|---|---|
| public Main setStreams(PrintWriter outWriter, PrintWriter errWriter) Sets the output and error streams to be used when running javadoc.
The streams may be the same; they must not be
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final Main. | ABNORMAL
Terminated abnormally |
| public static final Main. | CMDERR
Bad command-line arguments |
| public static final Main. | ERROR
Completed with reported errors |
| public final int | |
| public static final Main. | OK
completed with no errors |
| public static final Main. | SYSERR
System error or resource exhaustion |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public String | toString()
Overrides java. Returns the name of this enum constant, as contained in the declaration. |
| public static Main. | |
| public static Main. |
| ABNORMAL | back to summary |
|---|---|
| public static final Main. Terminated abnormally | |
| CMDERR | back to summary |
|---|---|
| public static final Main. Bad command-line arguments | |
| ERROR | back to summary |
|---|---|
| public static final Main. Completed with reported errors | |
| exitCode | back to summary |
|---|---|
| public final int exitCode | |
| OK | back to summary |
|---|---|
| public static final Main. completed with no errors | |
| SYSERR | back to summary |
|---|---|
| public static final Main. System error or resource exhaustion | |
| Result | back to summary |
|---|---|
| private Result(int exitCode) | |
| isOK | back to summary |
|---|---|
| public boolean isOK() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists.
| |
| valueOf | back to summary |
|---|---|
| public static Main. | |
| values | back to summary |
|---|---|
| public static Main. | |