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.SimpleJavaFileObject
Created 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.OutputStream
openOutputStream()
-
-
-
Method Detail
-
openOutputStream
public java.io.OutputStream openOutputStream() throws java.io.IOException
- Specified by:
openOutputStream
in interfacejavax.tools.FileObject
- Overrides:
openOutputStream
in classjavax.tools.SimpleJavaFileObject
- Throws:
java.io.IOException
-
getByteCode
public byte[] getByteCode()
-
-