public class ByteArrayJavaClass extends SimpleJavaFileObject
JavaFileObject.Kindkind, uri| 构造器和说明 |
|---|
ByteArrayJavaClass(String className)
Construct a SimpleJavaFileObject of the given kind and with the
given URI.
|
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
getBytes() |
OutputStream |
openOutputStream() |
delete, getAccessLevel, getCharContent, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openReader, openWriter, toString, toUripublic ByteArrayJavaClass(String className)
className - the URI for this file objectpublic byte[] getBytes()
public OutputStream openOutputStream()
openOutputStream 在接口中 FileObjectopenOutputStream 在类中 SimpleJavaFileObjectCopyright © 2020–2024 structure. All rights reserved.