|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface VFSModule
Plugin module providing filesystem functionality to VFS.
| Method Summary | |
|---|---|
boolean |
exists(java.lang.String path)
True if the file exists. |
java.io.InputStream |
inputStreamFor(java.lang.String path)
Returns an input stream for the given path. |
boolean |
isDirectory(java.lang.String path)
True if the path is a directory. |
boolean |
isWritable()
True if this module supports writing. |
long |
lastModified(java.lang.String path)
Returns the timestamp for when the file was last modified. |
VFSNode[] |
list(java.lang.String path)
Lists the entries in the virtual directory at path. |
java.io.OutputStream |
outputStreamFor(java.lang.String path)
Returns on output stream for the given path. |
VFSRandomAccess |
randomAccessFor(java.lang.String path)
Returns a random-access handle for the given path. |
void |
remove(java.lang.String path)
Removes the file at the given path. |
int |
sizeOf(java.lang.String path)
Returns the file size for the given path. |
| Method Detail |
|---|
boolean isWritable()
java.io.InputStream inputStreamFor(java.lang.String path)
throws java.io.IOException
java.io.IOException
java.io.OutputStream outputStreamFor(java.lang.String path)
throws java.io.IOException
java.io.IOException
VFSRandomAccess randomAccessFor(java.lang.String path)
throws java.io.IOException
java.io.IOException
boolean exists(java.lang.String path)
throws java.io.IOException
java.io.IOException
boolean isDirectory(java.lang.String path)
throws java.io.IOException
java.io.IOException
int sizeOf(java.lang.String path)
throws java.io.IOException
java.io.IOException
void remove(java.lang.String path)
throws java.io.IOException
java.io.IOException
VFSNode[] list(java.lang.String path)
throws java.io.IOException
java.io.IOException
long lastModified(java.lang.String path)
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||