本文整理了Java中org.jboss.vfs.VFS.getRootVirtualFile()
方法的一些代码示例,展示了VFS.getRootVirtualFile()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。VFS.getRootVirtualFile()
方法的具体详情如下:
包路径:org.jboss.vfs.VFS
类名称:VFS
方法名:getRootVirtualFile
[英]Get the root virtual file for this VFS instance.
[中]获取此VFS实例的根虚拟文件。
代码示例来源:origin: org.jboss/jboss-vfs
/**
* 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);
}
代码示例来源:origin: org.jboss/jboss-vfs
/**
* 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());
}
代码示例来源:origin: org.jboss/jboss-vfs
/**
* 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);
}
代码示例来源:origin: org.jboss/jboss-vfs
/**
* 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);
}
代码示例来源:origin: org.jboss/jboss-vfs
/**
* 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);
}
代码示例来源:origin: org.jboss.cl/jboss-classloading-vfs
start = VFS.getRootVirtualFile();
代码示例来源:origin: org.wildfly.swarm/wildfly-swarm-container-runtime
VirtualFile mountPoint = VFS.getRootVirtualFile().getChild(deployment.getName());
代码示例来源:origin: wildfly-swarm-archive/ARCHIVE-wildfly-swarm
VirtualFile mountPoint = VFS.getRootVirtualFile().getChild(deployment.getName());
代码示例来源:origin: org.wildfly.swarm/container-runtime
VirtualFile mountPoint = VFS.getRootVirtualFile().getChild(deployment.getName());
代码示例来源:origin: teiid/teiid
resources.put("/x.xsd", new VDBResources.Resource(VFS.getRootVirtualFile()));
内容来源于网络,如有侵权,请联系作者删除!