ua.gradsoft.termware.debug
Class BytecodeOutputFileObject
java.lang.Object
javax.tools.SimpleJavaFileObject
ua.gradsoft.termware.debug.BytecodeOutputFileObject
- All Implemented Interfaces:
- FileObject, JavaFileObject
public class BytecodeOutputFileObject
- extends SimpleJavaFileObject
FileObject for in-memory compilation
- Author:
- rssh
| Methods inherited from class javax.tools.SimpleJavaFileObject |
delete, getAccessLevel, getCharContent, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openReader, openWriter, toString, toUri |
BytecodeOutputFileObject
public BytecodeOutputFileObject(String name)
throws URISyntaxException
- Creates a new instance of BytecodeOutputFileObject
- Throws:
URISyntaxException
openOutputStream
public OutputStream openOutputStream()
- get output stream.
- Specified by:
openOutputStream in interface FileObject- Overrides:
openOutputStream in class SimpleJavaFileObject
getBytes
public byte[] getBytes()
- get resulting bytes.