/** * Get all the children recursively<p> * <p/> * This always uses {@link VisitorAttributes#RECURSE} * * @return the children * @throws IOException for any problem accessing the virtual file system */ public static List<VirtualFile> getChildrenRecursively() throws IOException { return getRootVirtualFile().getChildrenRecursively(null); }
/** * Visit the virtual file system from the root * * @param visitor the visitor * @throws IOException for any problem accessing the VFS * @throws IllegalArgumentException if the visitor is null */ public static void visit(VirtualFileVisitor visitor) throws IOException { visitor.visit(getRootVirtualFile()); }
/** * Get all the children recursively<p> * <p/> * This always uses {@link VisitorAttributes#RECURSE} * * @param filter to filter the children * @return the children * @throws IOException for any problem accessing the virtual file system */ public static List<VirtualFile> getChildrenRecursively(VirtualFileFilter filter) throws IOException { return getRootVirtualFile().getChildrenRecursively(filter); }
/** * Get the children * * @return the children * @throws IOException for any problem accessing the virtual file system */ public static List<VirtualFile> getChildren() throws IOException { return getRootVirtualFile().getChildren(null); }
/** * Get the children * * @param filter to filter the children * @return the children * @throws IOException for any problem accessing the virtual file system */ public static List<VirtualFile> getChildren(VirtualFileFilter filter) throws IOException { return getRootVirtualFile().getChildren(filter); }
VirtualFile mountPoint = VFS.getRootVirtualFile().getChild(deployment.getName());
VirtualFile mountPoint = VFS.getRootVirtualFile().getChild(deployment.getName());
VirtualFile mountPoint = VFS.getRootVirtualFile().getChild(deployment.getName());
resources.put("/x.xsd", new VDBResources.Resource(VFS.getRootVirtualFile()));