public abstract class AbstractJavaCompiler extends Object implements JavaCompiler
Modifier and Type | Field and Description |
---|---|
protected CompilationProblemHandler |
problemHandler |
Constructor and Description |
---|
AbstractJavaCompiler() |
Modifier and Type | Method and Description |
---|---|
CompilationResult |
compile(String[] pClazzNames,
ResourceReader pReader,
ResourceStore pStore)
uses the default compiler settings and the current classloader
|
CompilationResult |
compile(String[] pClazzNames,
ResourceReader pReader,
ResourceStore pStore,
ClassLoader pClassLoader)
uses the default compiler settings
|
void |
setCompilationProblemHandler(CompilationProblemHandler pHandler)
Set the the handler that gets the notification of an error
or warning as soon as this information is available from
the compiler.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compile, createDefaultSettings
protected CompilationProblemHandler problemHandler
public void setCompilationProblemHandler(CompilationProblemHandler pHandler)
JavaCompiler
setCompilationProblemHandler
in interface JavaCompiler
public CompilationResult compile(String[] pClazzNames, ResourceReader pReader, ResourceStore pStore)
JavaCompiler
compile
in interface JavaCompiler
public CompilationResult compile(String[] pClazzNames, ResourceReader pReader, ResourceStore pStore, ClassLoader pClassLoader)
JavaCompiler
compile
in interface JavaCompiler
Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.