public final class EclipseJavaCompiler extends AbstractJavaCompiler
problemHandler| Constructor and Description |
|---|
EclipseJavaCompiler() |
EclipseJavaCompiler(EclipseJavaCompilerSettings pSettings,
String prefix) |
EclipseJavaCompiler(Map pSettings) |
| Modifier and Type | Method and Description |
|---|---|
CompilationResult |
compile(String[] pSourceFiles,
ResourceReader pReader,
ResourceStore pStore,
ClassLoader pClassLoader,
JavaCompilerSettings pSettings)
Compiles the java resources "some/path/to/MyJava.java"
read through the ResourceReader and then stores the resulting
classes in the ResourceStore under "some/path/to/MyJava.class".
|
JavaCompilerSettings |
createDefaultSettings()
factory method to create the underlying default settings
|
String |
getPathName(String fullPath) |
void |
setPrefix(String prefix) |
compile, compile, setCompilationProblemHandlerpublic EclipseJavaCompiler()
public EclipseJavaCompiler(Map pSettings)
public EclipseJavaCompiler(EclipseJavaCompilerSettings pSettings, String prefix)
public void setPrefix(String prefix)
public CompilationResult compile(String[] pSourceFiles, ResourceReader pReader, ResourceStore pStore, ClassLoader pClassLoader, JavaCompilerSettings pSettings)
JavaCompilerpublic JavaCompilerSettings createDefaultSettings()
JavaCompilerCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.