Package tilda.utils.compiler
Class CompiledCode
- java.lang.Object
-
- javax.tools.SimpleJavaFileObject
-
- tilda.utils.compiler.CompiledCode
-
- All Implemented Interfaces:
javax.tools.FileObject,javax.tools.JavaFileObject
public class CompiledCode extends javax.tools.SimpleJavaFileObjectCreated by trung on 5/3/15. https://github.com/trung/InMemoryJavaCompiler Apache 2 License
-
-
Constructor Summary
Constructors Constructor Description CompiledCode(java.lang.String className)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getByteCode()java.io.OutputStreamopenOutputStream()
-
-
-
Method Detail
-
openOutputStream
public java.io.OutputStream openOutputStream() throws java.io.IOException- Specified by:
openOutputStreamin interfacejavax.tools.FileObject- Overrides:
openOutputStreamin classjavax.tools.SimpleJavaFileObject- Throws:
java.io.IOException
-
getByteCode
public byte[] getByteCode()
-
-