|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaCompiler
Method Summary | |
---|---|
CompilationResult |
compile(String[] pResourcePaths,
ResourceReader pReader,
ResourceStore pStore)
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". |
CompilationResult |
compile(String[] pResourcePaths,
ResourceReader pReader,
ResourceStore pStore,
ClassLoader classLoader)
As the usual compiler but you can provide the classloader and therefor the classpath you are compiling with. |
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. |
Method Detail |
---|
void setCompilationProblemHandler(CompilationProblemHandler pHandler)
pHandler
- CompilationResult compile(String[] pResourcePaths, ResourceReader pReader, ResourceStore pStore)
pResourcePaths
- pReader
- pStore
-
CompilationResult compile(String[] pResourcePaths, ResourceReader pReader, ResourceStore pStore, ClassLoader classLoader)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |