public class JavaCompiler extends Object
javac.| Modifier and Type | Class and Description |
|---|---|
static class |
JavaCompiler.CompileError |
| Modifier and Type | Field and Description |
|---|---|
protected PrintStream |
err |
protected static Method |
javac |
protected PrintStream |
out |
| Constructor and Description |
|---|
JavaCompiler(PrintStream err,
PrintStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
call(String[] arguments,
boolean verbose) |
void |
call(String[] arguments,
boolean verbose,
boolean debug) |
protected static JarClassLoader |
discoverJavac() |
protected void |
execute(String[] args,
File dir,
boolean verbose) |
static String |
quoteArg(String arg) |
static String |
quoteArg(String arg,
String quotables) |
protected PrintStream err
protected PrintStream out
protected static Method javac
public JavaCompiler(PrintStream err, PrintStream out)
public void call(String[] arguments, boolean verbose) throws JavaCompiler.CompileError
JavaCompiler.CompileErrorpublic void call(String[] arguments, boolean verbose, boolean debug) throws JavaCompiler.CompileError
JavaCompiler.CompileErrorprotected void execute(String[] args, File dir, boolean verbose) throws IOException
IOExceptionprotected static JarClassLoader discoverJavac() throws IOException
IOExceptionCopyright © 2015–2022 SciJava. All rights reserved.