public class JavaClassAsBytes extends SimpleJavaFileObject
JavaFileObject.Kind| Modifier and Type | Field and Description |
|---|---|
protected ByteArrayOutputStream |
bos |
kind, uri| Constructor and Description |
|---|
JavaClassAsBytes(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 JavaClassAsBytes(String name, JavaFileObject.Kind kind)
public byte[] getBytes()
public OutputStream openOutputStream()
openOutputStream in interface FileObjectopenOutputStream in class SimpleJavaFileObjectCopyright © 2024. All rights reserved.