public class RawJavaFileObject extends SimpleJavaFileObject
JavaFileObject.Kindkind, uri| Constructor and Description |
|---|
RawJavaFileObject(URI uri)
Construct a RawJavaFileObject of the given kind and with the
given URI.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete()
delete the Java source file
|
boolean |
equals(Object o) |
CharSequence |
getCharContent(boolean ignoreEncodingErrors) |
int |
hashCode() |
String |
toString() |
getAccessLevel, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openOutputStream, openReader, openWriter, toUripublic RawJavaFileObject(URI uri)
uri - the URI for this file objectpublic CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException
getCharContent in interface FileObjectgetCharContent in class SimpleJavaFileObjectIOExceptionpublic boolean delete()
delete in interface FileObjectdelete in class SimpleJavaFileObjecttrue if deleted successfullypublic String toString()
toString in class SimpleJavaFileObject