|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ManagedFile
Represents a file location in a managed store.
| Method Summary | |
|---|---|
boolean |
createNewFile()
Atomically creates a new file. |
boolean |
delete()
|
boolean |
exists()
|
ManagedFile |
getParent()
|
java.lang.String |
getPath()
|
boolean |
isDirectory()
|
ManagedFile[] |
listFiles()
|
ManagedFile[] |
listFiles(ManagedFileFilter filter)
|
boolean |
mkdir()
|
boolean |
mkdirs()
|
java.io.InputStream |
openInputStream()
Creates an input stream for reading from the managed file. |
java.io.OutputStream |
openOutputStream()
Creates an output stream for the managed file. |
| Method Detail |
|---|
java.lang.String getPath()
boolean isDirectory()
boolean exists()
boolean mkdir()
boolean mkdirs()
ManagedFile[] listFiles()
throws java.io.IOException
java.io.IOException
ManagedFile[] listFiles(ManagedFileFilter filter)
throws java.io.IOException
java.io.IOException
boolean createNewFile()
throws java.io.IOException
java.io.IOException
ManagedFile getParent()
throws java.io.IOException
java.io.IOException
java.io.OutputStream openOutputStream()
throws java.io.IOException
The number of bytes that can be written to the stream may be restricted by a quota.
java.io.IOExceptionQuotaExceededException
java.io.InputStream openInputStream()
throws java.io.IOException
java.io.FileNotFoundException - If the file does not exist.
java.io.IOException
boolean delete()
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||