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