Liking cljdoc? Tell your friends :D

javax.tools.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).

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).
raw docstring

get-source-versionsclj

(get-source-versions this)

Gets the source versions of the Java™ programming language supported by this tool.

returns: a set of supported source versions - java.util.Set<javax.lang.model.SourceVersion>

Gets the source versions of the Java™ programming language
 supported by this tool.

returns: a set of supported source versions - `java.util.Set<javax.lang.model.SourceVersion>`
raw docstring

runclj

(run this in out err arguments)

Run the tool with the given I/O channels and arguments. By convention a tool returns 0 for success and nonzero for errors. Any diagnostics generated will be written to either out or err in some unspecified format.

in - "standard" input; use System.in if null - java.io.InputStream out - "standard" output; use System.out if null - java.io.OutputStream err - "standard" error; use System.err if null - java.io.OutputStream arguments - arguments to pass to the tool - java.lang.String

returns: 0 for success; nonzero otherwise - int

throws: java.lang.NullPointerException - if the array of arguments contains any null elements.

Run the tool with the given I/O channels and arguments. By
 convention a tool returns 0 for success and nonzero for errors.
 Any diagnostics generated will be written to either out
 or err in some unspecified format.

in - "standard" input; use System.in if null - `java.io.InputStream`
out - "standard" output; use System.out if null - `java.io.OutputStream`
err - "standard" error; use System.err if null - `java.io.OutputStream`
arguments - arguments to pass to the tool - `java.lang.String`

returns: 0 for success; nonzero otherwise - `int`

throws: java.lang.NullPointerException - if the array of arguments contains any null elements.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close