FileObject, JavaFileObjectpublic static class ByteArrayJavaFileManager.ByteArrayJavaFileObject extends SimpleJavaFileObject
JavaFileObject.JavaFileObject.Kindkind, uri| Constructor | Description |
|---|---|
ByteArrayJavaFileObject(String className,
JavaFileObject.Kind kind) |
| Modifier and Type | Method | Description |
|---|---|---|
InputStream |
openInputStream() |
|
OutputStream |
openOutputStream() |
|
byte[] |
toByteArray() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdelete, getAccessLevel, getCharContent, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openReader, openWriter, toString, toUripublic ByteArrayJavaFileObject(String className, JavaFileObject.Kind kind)
public OutputStream openOutputStream() throws IOException
openOutputStream in interface FileObjectopenOutputStream in class SimpleJavaFileObjectIOExceptionpublic byte[] toByteArray()
JavaFileObject.public InputStream openInputStream() throws IOException
openInputStream in interface FileObjectopenInputStream in class SimpleJavaFileObjectIOExceptionCopyright © 2001–2019. All rights reserved.