public class OnBotJavaCompiler
extends java.lang.Object
OnBotJavaCompiler
guides our access to and usage of the java compiler tool.
http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/javac.html
https://www.ibm.com/developerworks/library/j-jcomp/
http://stackoverflow.com/questions/12173294/compile-code-fully-in-memory-with-javax-tools-javacompiler
https://github.com/trung/InMemoryJavaCompiler
http://www.java2s.com/Code/Java/JDK-6/CompilingfromMemory.htm
http://atamur.blogspot.com/2009/10/using-built-in-javacompiler-with-custom.html
http://stackoverflow.com/questions/1281229/how-to-use-jaroutputstream-to-create-a-jar-fileModifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
Constructor and Description |
---|
OnBotJavaCompiler() |
Modifier and Type | Method and Description |
---|---|
boolean |
compile(java.io.File srcRoot,
OnBotJavaDiagnosticsListener diagnosticListener) |
protected java.util.List<java.io.File> |
javaFilesUnder(java.io.File src) |
public static final java.lang.String TAG
public boolean compile(java.io.File srcRoot, OnBotJavaDiagnosticsListener diagnosticListener)
protected java.util.List<java.io.File> javaFilesUnder(java.io.File src)