public class MemJavaFileObject extends SimpleJavaFileObject
JavaFileObject.Kindkind, uri| Constructor and Description |
|---|
MemJavaFileObject(String urlPrefix,
String name,
JavaFileObject.Kind kind) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getByteArray() |
CharSequence |
getCharContent(boolean ignoreEncodingErrors) |
String |
getName() |
InputStream |
openInputStream() |
OutputStream |
openOutputStream() |
delete, getAccessLevel, getKind, getLastModified, getNestingKind, isNameCompatible, openReader, openWriter, toString, toUripublic MemJavaFileObject(String urlPrefix, String name, JavaFileObject.Kind kind)
public CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException
getCharContent in interface FileObjectgetCharContent in class SimpleJavaFileObjectIOExceptionpublic String getName()
getName in interface FileObjectgetName in class SimpleJavaFileObjectpublic byte[] getByteArray()
public InputStream openInputStream() throws IOException
openInputStream in interface FileObjectopenInputStream in class SimpleJavaFileObjectIOExceptionpublic OutputStream openOutputStream() throws IOException
openOutputStream in interface FileObjectopenOutputStream in class SimpleJavaFileObjectIOExceptionCopyright © 2010–2015 Mysema Ltd. All rights reserved.