1 22 package org.jboss.virtual.spi; 23 24 import java.io.IOException ; 25 import java.net.URI ; 26 import java.util.List ; 27 import java.util.Map ; 28 29 import org.jboss.virtual.VFS; 30 31 38 public interface VFSContext 39 { 40 45 URI getRootURI(); 46 47 52 VFS getVFS(); 53 54 60 VirtualFileHandler getRoot() throws IOException ; 61 62 67 Map <String , String > getOptions(); 68 69 78 List <VirtualFileHandler> getChildren(VirtualFileHandler parent, boolean ignoreErrors) throws IOException ; 79 80 89 VirtualFileHandler findChild(VirtualFileHandler parent, String path) throws IOException ; 90 91 99 void visit(VirtualFileHandler handler, VirtualFileHandlerVisitor visitor) throws IOException ; 100 } 101 | Popular Tags |