Tool

Interface Tool

All Known Subinterfaces:
DocumentationTool, JavaCompiler
public interface Tool

Common interface for tools that can be invoked from a program. A tool is traditionally a command line program such as a compiler. The set of tools available with a platform is defined by the vendor.

Tools can be located using ServiceLoader.load(Class).

Since:
1.6

Methods

run

int run(InputStream in,
        OutputStream out,
        OutputStream err,
        String..