|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IAbstractFile
A file.
| Nested Class Summary | |
|---|---|
static class |
IAbstractFile.PreferredWriteMode
|
| Method Summary | |
|---|---|
java.io.InputStream |
getContents()
Returns an InputStream object on the file content. |
long |
getModificationStamp()
Returns the last modification timestamp |
java.io.OutputStream |
getOutputStream()
Returns an OutputStream to write into the file. |
IAbstractFile.PreferredWriteMode |
getPreferredWriteMode()
Returns the preferred mode to write into the file. |
void |
setContents(java.io.InputStream source)
Sets the content of the file. |
| Methods inherited from interface com.android.io.IAbstractResource |
|---|
delete, exists, getName, getOsLocation, getParentFolder |
| Method Detail |
|---|
java.io.InputStream getContents()
throws StreamException
InputStream object on the file content.
The stream must be closed by the caller.
StreamException
void setContents(java.io.InputStream source)
throws StreamException
source - the content
StreamException
java.io.OutputStream getOutputStream()
throws StreamException
OutputStream to write into the file.
StreamExceptionIAbstractFile.PreferredWriteMode getPreferredWriteMode()
long getModificationStamp()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||