| java.lang.Object com.sun.tools.javac.api.JavacTool
JavacTool | final public class JavacTool implements JavaCompiler(Code) | | TODO: describe com.sun.tools.javac.api.Tool
This is NOT part of any API supported by Sun Microsystems.
If you write code that depends on this, you do so at your own
risk. This code and its internal interfaces are subject to change
or deletion without notice.
author: Peter von der Ah\u00e9 |
Constructor Summary | |
public | JavacTool() Constructor used by service provider mechanism. |
Method Summary | |
void | beginContext(Context context) Register that a compilation is about to start. | public static JavacTool | create() Static factory method for creating new instances of this tool. | void | endContext() Register that a compilation is completed. | public Set<SourceVersion> | getSourceVersions() | public JavacFileManager | getStandardFileManager(DiagnosticListener<? super JavaFileObject> diagnosticListener, Locale locale, Charset charset) | public JavacTask | getTask(Writer out, JavaFileManager fileManager, DiagnosticListener<? super JavaFileObject> diagnosticListener, Iterable<String> options, Iterable<String> classes, Iterable<? extends JavaFileObject> compilationUnits) | public int | isSupportedOption(String option) | public int | run(InputStream in, OutputStream out, OutputStream err, String... arguments) | public void | setExtendedOption(String name, Object... args) | public void | setOption(String name, Object... args) |
JavacTool | public JavacTool()(Code) | | Constructor used by service provider mechanism. The correct way to
obtain an instance of this class is using create or the service provider
mechanism.
See Also: javax.tools.JavaCompilerTool See Also: javax.tools.ToolProvider See Also: JavacTool.create |
beginContext | void beginContext(Context context)(Code) | | Register that a compilation is about to start.
|
create | public static JavacTool create()(Code) | | Static factory method for creating new instances of this tool.
new instance of this tool |
endContext | void endContext()(Code) | | Register that a compilation is completed.
|
isSupportedOption | public int isSupportedOption(String option)(Code) | | |
|
|