public interface GeneratedFile
| Modifier and Type | Method and Description | 
|---|---|
| String | getName() | 
| CharSequence | getTextContent()Gets the character content of this file object, if available. | 
| InputStream | openInputStream()Gets an InputStream for this file object. | 
| OutputStream | openOutputStream()Gets an OutputStream for this file object. | 
| Reader | openReader()Gets a reader for this object. | 
| Writer | openWriter()Gets a Writer for this file object. | 
| URI | toURI()The URI to write to. | 
URI toURI()
String getName()
InputStream openInputStream() throws IOException
IllegalStateException - if this file object was opened for writing and does not support readingUnsupportedOperationException - if this kind of file object does not support byte accessIOException - if an I/O error occurredOutputStream openOutputStream() throws IOException
IllegalStateException - if this file object was opened for reading and does not support writingUnsupportedOperationException - if this kind of file object does not support byte accessIOException - if an I/O error occurredReader openReader() throws IOException
ignoreEncodingErrors
 is true.IllegalStateException - if this file object was opened for writing and does not support readingUnsupportedOperationException - if this kind of file object does not support character accessIOException - if an I/O error occurredCharSequence getTextContent() throws IOException
ignoreEncodingErrors is true.null otherwiseIllegalStateException - if this file object was opened for writing and does not support readingUnsupportedOperationException - if this kind of file object does not support character accessIOException - if an I/O error occurredWriter openWriter() throws IOException
IllegalStateException - if this file object was opened for reading and does not support writingUnsupportedOperationException - if this kind of file object does not support character accessIOException - if an I/O error occurred