public class MemoryByteCode extends SimpleJavaFileObject
JavaFileObject.Kindkind, uri| Constructor and Description |
|---|
MemoryByteCode(String className) |
MemoryByteCode(String className,
ByteArrayOutputStream byteArrayOutputStream) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getByteCode() |
String |
getClassName() |
OutputStream |
openOutputStream() |
delete, getAccessLevel, getCharContent, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openReader, openWriter, toString, toUripublic MemoryByteCode(String className)
public MemoryByteCode(String className, ByteArrayOutputStream byteArrayOutputStream) throws URISyntaxException
URISyntaxExceptionpublic OutputStream openOutputStream() throws IOException
openOutputStream in interface FileObjectopenOutputStream in class SimpleJavaFileObjectIOExceptionpublic byte[] getByteCode()
public String getClassName()
Copyright © 2021. All rights reserved.