public class JDTCompiler
extends java.lang.Object
| Constructor and Description |
|---|
JDTCompiler() |
| Modifier and Type | Method and Description |
|---|---|
void |
compile(java.util.Collection<java.io.File> filesToBeCompiled,
java.io.File outputdirectory,
java.lang.ClassLoader classLoader)
Compile files in output directory using provided classpath
Put null for classpath argument to take current classpath
|
void |
compile(java.io.File srcDirectory,
java.lang.ClassLoader classLoader) |
public void compile(java.util.Collection<java.io.File> filesToBeCompiled,
java.io.File outputdirectory,
java.lang.ClassLoader classLoader)
throws CompilationException
CompilationException - if compilation errors occurspublic void compile(java.io.File srcDirectory,
java.lang.ClassLoader classLoader)
throws CompilationException
CompilationException