|
||||||||||
| 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,
java.lang.String path)
Find a child |
java.util.List<VirtualFileHandler> |
getChildren(VirtualFileHandler parent,
boolean ignoreErrors)
Get the children |
java.util.Map<java.lang.String,java.lang.String> |
getOptions()
Get the context option settings |
VirtualFileHandler |
getRoot()
Return the root virtual file |
java.net.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 |
|---|
java.net.URI getRootURI()
VFS getVFS()
VirtualFileHandler getRoot()
throws java.io.IOException
java.io.IOException - for any problem accessing the VFSjava.util.Map<java.lang.String,java.lang.String> getOptions()
java.util.List<VirtualFileHandler> getChildren(VirtualFileHandler parent,
boolean ignoreErrors)
throws java.io.IOException
parent - the parentignoreErrors - whether to ignore errors
java.io.IOException - for any problem accessing the VFS
java.lang.IllegalArgumentException - for a null parent
VirtualFileHandler findChild(VirtualFileHandler parent,
java.lang.String path)
throws java.io.IOException
parent - the parentpath - the path
java.io.IOException - for any problem accessing the VFS
java.lang.IllegalArgumentException - for a null parent or name
void visit(VirtualFileHandler handler,
VirtualFileHandlerVisitor visitor)
throws java.io.IOException
handler - the reference handlervisitor - the visitor
java.io.IOException - for any error
java.lang.IllegalArgumentException - if the handler or visitor is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||