FileObject
, JavaFileObject
public static class ByteArrayJavaFileManager.ByteArrayJavaFileObject extends SimpleJavaFileObject
JavaFileObject
.JavaFileObject.Kind
kind, 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, wait
delete, getAccessLevel, getCharContent, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openReader, openWriter, toString, toUri
public ByteArrayJavaFileObject(String className, JavaFileObject.Kind kind)
public OutputStream openOutputStream() throws IOException
openOutputStream
in interface FileObject
openOutputStream
in class SimpleJavaFileObject
IOException
public byte[] toByteArray()
JavaFileObject
.public InputStream openInputStream() throws IOException
openInputStream
in interface FileObject
openInputStream
in class SimpleJavaFileObject
IOException
Copyright © 2001–2019. All rights reserved.