Package net.binis.codegen.test
Class JavaByteObject
java.lang.Object
javax.tools.SimpleJavaFileObject
net.binis.codegen.test.JavaByteObject
- All Implemented Interfaces:
FileObject,JavaFileObject
public class JavaByteObject extends SimpleJavaFileObject
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description JavaByteObject(String name) -
Method Summary
Modifier and Type Method Description byte[]getBytes()OutputStreamopenOutputStream()Methods inherited from class javax.tools.SimpleJavaFileObject
delete, getAccessLevel, getCharContent, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openReader, openWriter, toString, toUri
-
Constructor Details
-
Method Details
-
openOutputStream
- Specified by:
openOutputStreamin interfaceFileObject- Overrides:
openOutputStreamin classSimpleJavaFileObject- Throws:
IOException
-
getBytes
public byte[] getBytes()
-