public interface Tool
Tools can be located using ServiceLoader.load(Class)
.
Modifier and Type | Method and Description |
---|---|
Set<SourceVersion> |
getSourceVersions()
Gets the source versions of the Java™ programming language
supported by this tool.
|
int |
run(InputStream in,
OutputStream out,
OutputStream err,
String... arguments)
Run the tool with the given I/O channels and arguments.
|
int run(InputStream in, OutputStream out, OutputStream err, String... arguments)
out
or err
in some unspecified format.NullPointerException
- if the array of arguments contains
any null
elements.in
- "standard" input; use System.in if nullout
- "standard" output; use System.out if nullerr
- "standard" error; use System.err if nullarguments
- arguments to pass to the toolSet<SourceVersion> getSourceVersions()
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.