org.jboss.vfs.VFS.getRootVirtualFile()方法的使用及代码示例

x33g5p2x  于2022-01-31 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(114)

本文整理了Java中org.jboss.vfs.VFS.getRootVirtualFile()方法的一些代码示例,展示了VFS.getRootVirtualFile()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。VFS.getRootVirtualFile()方法的具体详情如下:
包路径:org.jboss.vfs.VFS
类名称:VFS
方法名:getRootVirtualFile

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()));

相关文章