com.github.drinkjava2.jsqlbox.compiler
Class JavaClassObject
java.lang.Object
javax.tools.SimpleJavaFileObject
com.github.drinkjava2.jsqlbox.compiler.JavaClassObject
- All Implemented Interfaces:
- FileObject, JavaFileObject
public class JavaClassObject
- extends SimpleJavaFileObject
| Methods inherited from class javax.tools.SimpleJavaFileObject |
delete, getAccessLevel, getCharContent, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openReader, openWriter, toString, toUri |
bos
protected final ByteArrayOutputStream bos
JavaClassObject
public JavaClassObject(String name,
JavaFileObject.Kind kind)
getBytes
public byte[] getBytes()
openOutputStream
public OutputStream openOutputStream()
throws IOException
- Specified by:
openOutputStream in interface FileObject- Overrides:
openOutputStream in class SimpleJavaFileObject
- Throws:
IOException
Copyright © 2018. All rights reserved.