public class RawJavaFileObject extends SimpleJavaFileObject
JavaFileObject.Kind
kind, 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, toUri
public RawJavaFileObject(URI uri)
uri
- the URI for this file objectpublic CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException
getCharContent
in interface FileObject
getCharContent
in class SimpleJavaFileObject
IOException
public boolean delete()
delete
in interface FileObject
delete
in class SimpleJavaFileObject
true
if deleted successfullypublic String toString()
toString
in class SimpleJavaFileObject