This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static int | Returns: an exit code. 0 means success, non-zero means an error occurred.command line arguments args, PrintWriter output stream out)Entry point that does not call System.exit. |
| Main | back to summary |
|---|---|
| public Main() | |
| main | back to summary |
|---|---|
| public static void main(String[] args) Main entry point for the launcher. Note This method calls System.exit.
| |
| run | back to summary |
|---|---|
| public static int run(String[] args, PrintWriter out) Entry point that does not call System.exit.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | description()
Overrides default java. Returns a short description of the tool, or an empty
|
| public String | |
| public int | run(PrintWriter out, PrintWriter err, String... args)
Implements java. Runs an instance of the tool, returning zero for a successful run. |
| JavapToolProvider | back to summary |
|---|---|
| public JavapToolProvider() | |
| description | back to summary |
|---|---|
| public Optional Overrides default java. Doc from java. Returns a short description of the tool, or an empty
| |
| name | back to summary |
|---|---|
| public String name() Implements java. Doc from java. Returns the name of this tool provider. | |
| run | back to summary |
|---|---|
| public int run(PrintWriter out, PrintWriter err, String... args) Implements java. Doc from java. Runs an instance of the tool, returning zero for a successful run. Any non-zero return value indicates a tool-specific error during the execution. Two streams should be provided, for "expected" output, and for any error messages. If it is not necessary to distinguish the output, the same stream may be used for both. | |