public class ByteArrayClassFileObject extends ClassFileObject
JavaFileObject.Kindkind, uri| Constructor and Description |
|---|
ByteArrayClassFileObject(String name) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
openOutputStream() |
byte[] |
toByteArray() |
JClassFile |
toClassFile() |
getPackageName, getSimpleNamedelete, getAccessLevel, getCharContent, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openReader, openWriter, toString, toUripublic ByteArrayClassFileObject(String name)
public JClassFile toClassFile()
public byte[] toByteArray()
public OutputStream openOutputStream() throws IOException
openOutputStream in interface FileObjectopenOutputStream in class SimpleJavaFileObjectIOExceptionCopyright © 2025. All rights reserved.