java.lang.Objectjavax.tools.ToolProvider
public class ToolProvider
为查找工具提供者提供方法,例如,编译器的提供者。此类实现 ServiceLoader 功能。
| 方法摘要 | |
|---|---|
static JavaCompiler |
getSystemJavaCompiler() 获取此平台提供的 Java™ 编程语言编译器。 |
static ClassLoader |
getSystemToolClassLoader() 返回此平台提供的工具的类加载器。 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 方法详细信息 |
|---|
public static JavaCompiler getSystemJavaCompiler()
null
public static ClassLoader getSystemToolClassLoader()
null