public class JavaCompilerImpl extends Object implements JavaCompiler
JavaCompiler.CompilationTask| Constructor and Description |
|---|
JavaCompilerImpl(JavaCompiler delegate) |
| Modifier and Type | Method and Description |
|---|---|
Set<SourceVersion> |
getSourceVersions() |
StandardJavaFileManager |
getStandardFileManager(DiagnosticListener<? super JavaFileObject> diagnosticListener,
Locale locale,
Charset charset) |
JavaCompiler.CompilationTask |
getTask(Writer out,
JavaFileManager fileManager,
DiagnosticListener<? super JavaFileObject> diagnosticListener,
Iterable<String> options,
Iterable<String> classes,
Iterable<? extends JavaFileObject> compilationUnits) |
int |
isSupportedOption(String option) |
int |
run(InputStream in,
OutputStream out,
OutputStream err,
String... arguments) |
public JavaCompilerImpl(JavaCompiler delegate)
public JavaCompiler.CompilationTask getTask(Writer out, JavaFileManager fileManager, DiagnosticListener<? super JavaFileObject> diagnosticListener, Iterable<String> options, Iterable<String> classes, Iterable<? extends JavaFileObject> compilationUnits)
getTask in interface JavaCompilerpublic StandardJavaFileManager getStandardFileManager(DiagnosticListener<? super JavaFileObject> diagnosticListener, Locale locale, Charset charset)
getStandardFileManager in interface JavaCompilerpublic int isSupportedOption(String option)
isSupportedOption in interface OptionCheckerpublic int run(InputStream in, OutputStream out, OutputStream err, String... arguments)
public Set<SourceVersion> getSourceVersions()
getSourceVersions in interface ToolCopyright © 2018. All rights reserved.