public class EclipseFileObject extends SimpleJavaFileObject
JavaFileObject.Kindkind, uri| Constructor and Description |
|---|
EclipseFileObject(String className,
URI uri,
JavaFileObject.Kind kind,
Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete() |
boolean |
equals(Object o) |
Modifier |
getAccessLevel() |
CharSequence |
getCharContent(boolean ignoreEncodingErrors) |
long |
getLastModified() |
String |
getName() |
NestingKind |
getNestingKind() |
int |
hashCode() |
InputStream |
openInputStream() |
OutputStream |
openOutputStream() |
Reader |
openReader(boolean ignoreEncodingErrors) |
Writer |
openWriter() |
String |
toString() |
getKind, isNameCompatible, toUripublic EclipseFileObject(String className, URI uri, JavaFileObject.Kind kind, Charset charset)
public Modifier getAccessLevel()
getAccessLevel in interface JavaFileObjectgetAccessLevel in class SimpleJavaFileObjectpublic NestingKind getNestingKind()
getNestingKind in interface JavaFileObjectgetNestingKind in class SimpleJavaFileObjectpublic boolean delete()
delete in interface FileObjectdelete in class SimpleJavaFileObjectpublic CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException
getCharContent in interface FileObjectgetCharContent in class SimpleJavaFileObjectIOExceptionpublic long getLastModified()
getLastModified in interface FileObjectgetLastModified in class SimpleJavaFileObjectpublic String getName()
getName in interface FileObjectgetName in class SimpleJavaFileObjectpublic InputStream openInputStream() throws IOException
openInputStream in interface FileObjectopenInputStream in class SimpleJavaFileObjectIOExceptionpublic OutputStream openOutputStream() throws IOException
openOutputStream in interface FileObjectopenOutputStream in class SimpleJavaFileObjectIOExceptionpublic Reader openReader(boolean ignoreEncodingErrors) throws IOException
openReader in interface FileObjectopenReader in class SimpleJavaFileObjectIOExceptionpublic Writer openWriter() throws IOException
openWriter in interface FileObjectopenWriter in class SimpleJavaFileObjectIOExceptionpublic String toString()
toString in class SimpleJavaFileObjectCopyright © 2015. All rights reserved.