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 SimpleJavaFileObjectFileObject.delete()public CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException
getCharContent in interface FileObjectgetCharContent in class SimpleJavaFileObjectIOExceptionFileObject.getCharContent(boolean)public long getLastModified()
getLastModified in interface FileObjectgetLastModified in class SimpleJavaFileObjectFileObject.getLastModified()public String getName()
getName in interface FileObjectgetName in class SimpleJavaFileObjectpublic InputStream openInputStream() throws IOException
openInputStream in interface FileObjectopenInputStream in class SimpleJavaFileObjectIOExceptionFileObject.openInputStream()public OutputStream openOutputStream() throws IOException
openOutputStream in interface FileObjectopenOutputStream in class SimpleJavaFileObjectIOExceptionFileObject.openOutputStream()public Reader openReader(boolean ignoreEncodingErrors) throws IOException
openReader in interface FileObjectopenReader in class SimpleJavaFileObjectIOExceptionFileObject.openReader(boolean)public Writer openWriter() throws IOException
openWriter in interface FileObjectopenWriter in class SimpleJavaFileObjectIOExceptionFileObject.openWriter()public String toString()
toString in class SimpleJavaFileObjectCopyright © 2013. All rights reserved.