public class JavaClassObject extends SimpleJavaFileObject
JavaFileObject.Kind| Modifier and Type | Field and Description |
|---|---|
protected ByteArrayOutputStream |
bos |
kind, uri| Constructor and Description |
|---|
JavaClassObject(String name,
JavaFileObject.Kind kind) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes() |
OutputStream |
openOutputStream() |
delete, getAccessLevel, getCharContent, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openReader, openWriter, toString, toUriprotected final ByteArrayOutputStream bos
public JavaClassObject(String name, JavaFileObject.Kind kind)
public byte[] getBytes()
public OutputStream openOutputStream() throws IOException
openOutputStream in interface FileObjectopenOutputStream in class SimpleJavaFileObjectIOExceptionCopyright © 2021. All rights reserved.