public interface Tool
工具可以使用ServiceLoader.load(Class)。
| Modifier and Type | Method and Description |
|---|---|
Set<SourceVersion> |
getSourceVersions()
得到的™java编程语言的源代码版本支持的工具。
|
int |
run(InputStream in, OutputStream out, OutputStream err, String... arguments)
用给定的I / O通道和参数运行工具。
|
int run(InputStream in, OutputStream out, OutputStream err, String... arguments)
out或
err。
in -“标准”输入;如果空系统。
out -“标准”输出;如果空使用System.out
err“标准”的错误;如果空System.err
arguments -参数传递的工具
NullPointerException如果参数的数组包含任何
null元素。
Set<SourceVersion> getSourceVersions()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.