public class JavaMemClass extends SimpleJavaFileObject
JavaFileObject.Kind| Modifier and Type | Field and Description |
|---|---|
protected ByteArrayOutputStream |
classByteArrayOutputStream |
kind, uri| Constructor and Description |
|---|
JavaMemClass(String name,
JavaFileObject.Kind kind,
ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes() |
Class |
loadThisClass() |
OutputStream |
openOutputStream() |
delete, getAccessLevel, getCharContent, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openReader, openWriter, toString, toUriprotected final ByteArrayOutputStream classByteArrayOutputStream
public JavaMemClass(String name, JavaFileObject.Kind kind, ClassLoader classLoader)
public byte[] getBytes()
public OutputStream openOutputStream() throws IOException
openOutputStream in interface FileObjectopenOutputStream in class SimpleJavaFileObjectIOExceptionpublic Class loadThisClass()
Copyright © 2020 Voovan. All rights reserved.