public class JavaCompilerHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JavaCompilerHelper.JavaSourceFromString
This class allows code to be generated directly from a String, instead of having to be
on disk.
|
Constructor and Description |
---|
JavaCompilerHelper() |
Modifier and Type | Method and Description |
---|---|
void |
addToClassPath(String path) |
void |
compile(String target,
JavaCompilerHelper.JavaSourceFromString... sources) |
String |
getClassPath() |
public void compile(String target, JavaCompilerHelper.JavaSourceFromString... sources)
public void addToClassPath(String path)
public String getClassPath()
Copyright © 2007-2017 The Apache Software Foundation