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
a stream to which "expected" output should be written out, PrintWriter a stream to which any error messages should be written err, String... the command-line arguments for the tool args)Implements java. Runs an instance of the tool, returning zero for a successful run. |
JarToolProvider | back to summary |
---|---|
public JarToolProvider() |
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.
|