|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VFSContext
A virtual file context
| Method Summary | |
|---|---|
VirtualFileHandler |
findChild(VirtualFileHandler parent,
String path)
Find a child |
List<VirtualFileHandler> |
getChildren(VirtualFileHandler parent,
boolean ignoreErrors)
Get the children |
Map<String,String> |
getOptions()
Get the context option settings |
VirtualFileHandler |
getRoot()
Return the root virtual file |
URI |
getRootURI()
Get the root uri |
VFS |
getVFS()
Get the VFS for this context |
void |
visit(VirtualFileHandler handler,
VirtualFileHandlerVisitor visitor)
Visit the virtual file system |
| Method Detail |
|---|
URI getRootURI()
VFS getVFS()
VirtualFileHandler getRoot()
throws IOException
IOException - for any problem accessing the VFSMap<String,String> getOptions()
List<VirtualFileHandler> getChildren(VirtualFileHandler parent,
boolean ignoreErrors)
throws IOException
parent - the parentignoreErrors - whether to ignore errors
IOException - for any problem accessing the VFS
IllegalArgumentException - for a null parent
VirtualFileHandler findChild(VirtualFileHandler parent,
String path)
throws IOException
parent - the parentpath - the path
IOException - for any problem accessing the VFS
IllegalArgumentException - for a null parent or name
void visit(VirtualFileHandler handler,
VirtualFileHandlerVisitor visitor)
throws IOException
handler - the reference handlervisitor - the visitor
IOException - for any error
IllegalArgumentException - if the handler or visitor is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||