Uses of Class
org.jboss.vfs.VirtualFile
Packages that use VirtualFile
Package
Description
-
Uses of VirtualFile in org.jboss.vfs
Fields in org.jboss.vfs declared as VirtualFileModifier and TypeFieldDescriptionprivate VirtualFileVirtualJarInputStream.currentVirtualFileprivate VirtualFileVFSInputSource.fileprivate final VirtualFileVFS.Mount.mountPointprivate final VirtualFileVirtualFileAssembly.mountRootprivate final VirtualFileVirtualFile.parentprivate final VirtualFileVirtualJarInputStream.rootprivate static final VirtualFileVFS.rootVirtualFileprivate VirtualFileVirtualFileAssembly.AssemblyNode.targetprivate final VirtualFileVirtualJarInputStream.VirtualJarEntry.virtualFileFields in org.jboss.vfs with type parameters of type VirtualFileModifier and TypeFieldDescriptionprivate final Deque<Iterator<VirtualFile>> VirtualJarInputStream.entryItrprivate static final ConcurrentMap<VirtualFile, Map<String, VFS.Mount>> VFS.mountsMethods in org.jboss.vfs that return VirtualFileModifier and TypeMethodDescriptionprivate static VirtualFileVFS.createDefaultRoot()static VirtualFileFind a virtual file.static VirtualFileFind a virtual file.static VirtualFileDeprecated.use getChild(URI) insteadGet a child virtual file.VirtualFileAssembly.AssemblyNode.getFile(VirtualFileAssembly.Path path, VirtualFile assemblyMountPoint) Get the VirtualFile for a given path.VirtualFileAssembly.getFile(VirtualFile mountPoint, VirtualFile target) Get the VirtualFile from the assembly.(package private) VirtualFileVFS.Mount.getMountPoint()VirtualFile.getParent()Get aVirtualFilewhich represents the parent of this instance.VirtualFile.getParentFiles()Get the all the parent files of this virtual file from this file to the root.private VirtualFile[]VirtualFile.getParentFiles(int idx) static VirtualFileVFS.getRootVirtualFile()Get the root virtual file for this VFS instance.Methods in org.jboss.vfs that return types with arguments of type VirtualFileModifier and TypeMethodDescriptionstatic List<VirtualFile> VFS.getChildren()Get the childrenstatic List<VirtualFile> VFS.getChildren(VirtualFileFilter filter) Get the childrenVirtualFile.getChildren()Get the children.VirtualFile.getChildren(VirtualFileFilter filter) Get the childrenstatic List<VirtualFile> VFS.getChildrenRecursively()Get all the children recursivelystatic List<VirtualFile> VFS.getChildrenRecursively(VirtualFileFilter filter) Get all the children recursivelyVirtualFile.getChildrenRecursively()Get all the children recursivelyVirtualFile.getChildrenRecursively(VirtualFileFilter filter) Get all the children recursivelyVirtualFile.getParentFileList()Get the all the parent files of this virtual file from this file to the root as a list.Methods in org.jboss.vfs with parameters of type VirtualFileModifier and TypeMethodDescriptionbooleanVirtualFileFilter.accepts(VirtualFile file) Match the virtual filebooleanVisitorAttributes.AcceptAnyFilter.accepts(VirtualFile file) voidVirtualFileAssembly.add(String path, VirtualFile virtualFile) Add aVirtualFileto the assembly in a given path.voidVirtualFileAssembly.add(VirtualFile virtualFile) Add aVirtualFileto the assembly.static voidVFSUtils.addManifestLocations(VirtualFile file, List<VirtualFile> paths) Add manifest pathsbooleanVirtualFileAssembly.contains(VirtualFile mountPoint, VirtualFile target) static voidVFSUtils.copyChildrenRecursive(VirtualFile original, VirtualFile target) Copy all the children from the originalVirtualFilethe target recursively.static InputStreamVFSUtils.createJarFileInputStream(VirtualFile virtualFile) Get an input stream that will always be consumable as a Zip/Jar file.private static MountHandleVFS.doMount(FileSystem fileSystem, VirtualFile mountPoint, Closeable... additionalCloseables) booleanVirtualFile.equals(VirtualFile o) Determine whether the given object is equal to this one.VFSMessages.fileSystemAlreadyMountedAtMountPoint(VirtualFile mountPoint) VirtualFileAssembly.getChildNames(VirtualFile mountPoint, VirtualFile target) Returns a list of all the names of the children in the assembly.private StringVirtualJarInputStream.getEntryName(VirtualFile entry) Get the entry name from a VirtualFile.VirtualFileAssembly.AssemblyNode.getFile(VirtualFileAssembly.Path path, VirtualFile assemblyMountPoint) Get the VirtualFile for a given path.VirtualFileAssembly.getFile(VirtualFile mountPoint, VirtualFile target) Get the VirtualFile from the assembly.static ManifestVFSUtils.getManifest(VirtualFile archive) Get a manifest from a virtual file, assuming the virtual file is the root of an archive(package private) static VFS.MountVFS.getMount(VirtualFile virtualFile) VirtualFile.getPathNameRelativeTo(VirtualFile parent) Get the path name relative to a parent virtual file.private voidVirtualFile.getPathNameRelativeTo(VirtualFile parent, StringBuilder builder) static URIVFSUtils.getPhysicalURI(VirtualFile file) Get a physical URI for a virtual file.static URLVFSUtils.getPhysicalURL(VirtualFile file) Get a physical URL for a virtual file.static URIVFSUtils.getRootURI(VirtualFile file) Get the physical root URL of the filesystem of a virtual file.static URLVFSUtils.getRootURL(VirtualFile file) Get the physical root URL of the filesystem of a virtual file.VFS.getSubmounts(VirtualFile virtualFile) Get all immediate submounts for a path.static URIVFSUtils.getVirtualURI(VirtualFile file) Get the virtual URI for a virtual file.static URLVFSUtils.getVirtualURL(VirtualFile file) Get the virtual URL for a virtual file.booleanVisitorAttributes.isRecurse(VirtualFile file) Whether to recurse into the non-leaf filestatic CloseableVFS.mount(VirtualFile mountPoint, FileSystem fileSystem) Mount a filesystem on a mount point in the VFS.static CloseableVFS.mountAssembly(VirtualFileAssembly assembly, VirtualFile mountPoint) Create and mount an assembly file system, returning a single handle which will unmount and close the filesystem when closed.static CloseableVFS.mountReal(File realRoot, VirtualFile mountPoint) Create and mount a real file system, returning a single handle which will unmount and close the filesystem when closed.static CloseableVFS.mountTemp(VirtualFile mountPoint, TempFileProvider tempFileProvider) Create and mount a temporary file system, returning a single handle which will unmount and close the filesystem when closed.static CloseableVFS.mountZip(File zipFile, VirtualFile mountPoint, TempFileProvider tempFileProvider) Create and mount a zip file into the filesystem, returning a single handle which will unmount and close the file system when closed.static CloseableVFS.mountZip(InputStream zipData, String zipName, VirtualFile mountPoint, TempFileProvider tempFileProvider) Create and mount a zip file into the filesystem, returning a single handle which will unmount and close the file system when closed.static CloseableVFS.mountZip(VirtualFile zipFile, VirtualFile mountPoint, TempFileProvider tempFileProvider) Create and mount a zip file into the filesystem, returning a single handle which will unmount and close the file system when closed.static CloseableVFS.mountZipExpanded(File zipFile, VirtualFile mountPoint, TempFileProvider tempFileProvider) Create and mount an expanded zip file in a temporary file system, returning a single handle which will unmount and close the filesystem when closed.static CloseableVFS.mountZipExpanded(InputStream zipData, String zipName, VirtualFile mountPoint, TempFileProvider tempFileProvider) Create and mount an expanded zip file in a temporary file system, returning a single handle which will unmount and close the filesystem when closed.static CloseableVFS.mountZipExpanded(VirtualFile zipFile, VirtualFile mountPoint, TempFileProvider tempFileProvider) Create and mount an expanded zip file in a temporary file system, returning a single handle which will unmount and close the filesystem when closed.private voidVirtualJarInputStream.openCurrent(VirtualFile current) Open the current virtual file as the current JarEntry stream.VFSMessages.parentIsNotAncestor(VirtualFile parent) VFSMessages.problemCreatingNewDirectory(VirtualFile targetChild) static ManifestVFSUtils.readManifest(VirtualFile manifest) Read the manifest from given manifest VirtualFile.static voidVFSUtils.recursiveCopy(File original, VirtualFile destDir) Recursively copy a file or directory from one location to another.static voidVFSUtils.recursiveCopy(VirtualFile original, File destDir) Recursively copy a file or directory from one location to another.static voidVFSUtils.recursiveCopy(VirtualFile original, VirtualFile destDir) Recursively copy a file or directory from one location to another.static booleanVFSUtils.recursiveDelete(VirtualFile root) Attempt to recursively delete a virtual file.private voidVirtualFileAssembly.AssemblyNode.setTarget(VirtualFile target) voidVFSLogger.vfsMountLeaked(VirtualFile mountPoint, Throwable cause) protected static voidVFS.visit(VirtualFile file, VirtualFileVisitor visitor) Visit the virtual file systemvoidVirtualFileVisitor.visit(VirtualFile virtualFile) Visit a virtual filestatic voidVFSUtils.writeFile(VirtualFile virtualFile, byte[] bytes) Write the given bytes to the given virtual file, replacing its current contents (if any) or creating a new file if one does not exist.static voidVFSUtils.writeFile(VirtualFile virtualFile, InputStream is) Write the content from the givenInputStreamto the given virtual file, replacing its current contents (if any) or creating a new file if one does not exist.Method parameters in org.jboss.vfs with type arguments of type VirtualFileModifier and TypeMethodDescriptionstatic voidVFSUtils.addManifestLocations(VirtualFile file, List<VirtualFile> paths) Add manifest pathsstatic StringVFSUtils.getPathsString(Collection<VirtualFile> paths) Get the paths string for a collection of virtual filesConstructors in org.jboss.vfs with parameters of type VirtualFileModifierConstructorDescription(package private)Mount(FileSystem fileSystem, VirtualFile mountPoint) VFSInputSource(VirtualFile file) (package private)VirtualFile(String name, VirtualFile parent) VirtualJarEntry(String name, VirtualFile virtualFile, Attributes attributes) Construct a newConstruct aVirtualJarInputStreamfrom aVirtualFileroot -
Uses of VirtualFile in org.jboss.vfs.protocol
Fields in org.jboss.vfs.protocol declared as VirtualFileModifier and TypeFieldDescriptionprivate final VirtualFileFileURLConnection.fileprivate final VirtualFileVirtualFileURLConnection.fileprivate final VirtualFileFileURLConnection.mountPoint -
Uses of VirtualFile in org.jboss.vfs.spi
Methods in org.jboss.vfs.spi that return VirtualFileModifier and TypeMethodDescriptionprivate VirtualFileAssemblyFileSystem.getExistingFile(VirtualFile mountPoint, VirtualFile target) Methods in org.jboss.vfs.spi with parameters of type VirtualFileModifier and TypeMethodDescriptionbooleanAssemblyFileSystem.delete(VirtualFile mountPoint, VirtualFile target) Attempt to delete a virtual file within this filesystem.booleanFileSystem.delete(VirtualFile mountPoint, VirtualFile target) Attempt to delete a virtual file within this filesystem.booleanJavaZipFileSystem.delete(VirtualFile mountPoint, VirtualFile target) Attempt to delete a virtual file within this filesystem.booleanRealFileSystem.delete(VirtualFile mountPoint, VirtualFile target) Attempt to delete a virtual file within this filesystem.booleanRootFileSystem.delete(VirtualFile mountPoint, VirtualFile target) Attempt to delete a virtual file within this filesystem.booleanAssemblyFileSystem.exists(VirtualFile mountPoint, VirtualFile target) Ascertain the existance of a virtual file within this filesystem.booleanFileSystem.exists(VirtualFile mountPoint, VirtualFile target) Ascertain the existance of a virtual file within this filesystem.booleanJavaZipFileSystem.exists(VirtualFile mountPoint, VirtualFile target) Ascertain the existance of a virtual file within this filesystem.booleanRealFileSystem.exists(VirtualFile mountPoint, VirtualFile target) Ascertain the existance of a virtual file within this filesystem.booleanRootFileSystem.exists(VirtualFile mountPoint, VirtualFile target) Ascertain the existance of a virtual file within this filesystem.private JavaZipFileSystem.ZipNodeJavaZipFileSystem.ZipNode.find(VirtualFile mountPoint, VirtualFile target) AssemblyFileSystem.getCodeSigners(VirtualFile mountPoint, VirtualFile target) Get theCodeSigners for a the virtual file.FileSystem.getCodeSigners(VirtualFile mountPoint, VirtualFile target) Get theCodeSigners for a the virtual file.JavaZipFileSystem.getCodeSigners(VirtualFile mountPoint, VirtualFile target) Get theCodeSigners for a the virtual file.RealFileSystem.getCodeSigners(VirtualFile mountPoint, VirtualFile target) Get theCodeSigners for a the virtual file.RootFileSystem.getCodeSigners(VirtualFile mountPoint, VirtualFile target) Get theCodeSigners for a the virtual file.AssemblyFileSystem.getDirectoryEntries(VirtualFile mountPoint, VirtualFile target) Read a directory.FileSystem.getDirectoryEntries(VirtualFile mountPoint, VirtualFile target) Read a directory.JavaZipFileSystem.getDirectoryEntries(VirtualFile mountPoint, VirtualFile target) Read a directory.RealFileSystem.getDirectoryEntries(VirtualFile mountPoint, VirtualFile target) Read a directory.RootFileSystem.getDirectoryEntries(VirtualFile mountPoint, VirtualFile target) Read a directory.private VirtualFileAssemblyFileSystem.getExistingFile(VirtualFile mountPoint, VirtualFile target) private JavaZipFileSystem.ZipNodeJavaZipFileSystem.getExistingZipNode(VirtualFile mountPoint, VirtualFile target) AssemblyFileSystem.getFile(VirtualFile mountPoint, VirtualFile target) Get a realFilefor the given path within this filesystem.FileSystem.getFile(VirtualFile mountPoint, VirtualFile target) Get a realFilefor the given path within this filesystem.JavaZipFileSystem.getFile(VirtualFile mountPoint, VirtualFile target) Get a realFilefor the given path within this filesystem.RealFileSystem.getFile(VirtualFile mountPoint, VirtualFile target) Get a realFilefor the given path within this filesystem.RootFileSystem.getFile(VirtualFile mountPoint, VirtualFile target) Get a realFilefor the given path within this filesystem.longAssemblyFileSystem.getLastModified(VirtualFile mountPoint, VirtualFile target) Get the last modification time of a virtual file within this filesystem.longFileSystem.getLastModified(VirtualFile mountPoint, VirtualFile target) Get the last modification time of a virtual file within this filesystem.longJavaZipFileSystem.getLastModified(VirtualFile mountPoint, VirtualFile target) Get the last modification time of a virtual file within this filesystem.longRealFileSystem.getLastModified(VirtualFile mountPoint, VirtualFile target) Get the last modification time of a virtual file within this filesystem.longRootFileSystem.getLastModified(VirtualFile mountPoint, VirtualFile target) Get the last modification time of a virtual file within this filesystem.longAssemblyFileSystem.getSize(VirtualFile mountPoint, VirtualFile target) Get the size of a virtual file within this filesystem.longFileSystem.getSize(VirtualFile mountPoint, VirtualFile target) Get the size of a virtual file within this filesystem.longJavaZipFileSystem.getSize(VirtualFile mountPoint, VirtualFile target) Get the size of a virtual file within this filesystem.longRealFileSystem.getSize(VirtualFile mountPoint, VirtualFile target) Get the size of a virtual file within this filesystem.longRootFileSystem.getSize(VirtualFile mountPoint, VirtualFile target) Get the size of a virtual file within this filesystem.private JavaZipFileSystem.ZipNodeJavaZipFileSystem.getZipNode(VirtualFile mountPoint, VirtualFile target) booleanAssemblyFileSystem.isDirectory(VirtualFile mountPoint, VirtualFile target) Ascertain whether a virtual file within this filesystem is a directory.booleanFileSystem.isDirectory(VirtualFile mountPoint, VirtualFile target) Ascertain whether a virtual file within this filesystem is a directory.booleanJavaZipFileSystem.isDirectory(VirtualFile mountPoint, VirtualFile target) Ascertain whether a virtual file within this filesystem is a directory.booleanRealFileSystem.isDirectory(VirtualFile mountPoint, VirtualFile target) Ascertain whether a virtual file within this filesystem is a directory.booleanRootFileSystem.isDirectory(VirtualFile mountPoint, VirtualFile target) Ascertain whether a virtual file within this filesystem is a directory.booleanAssemblyFileSystem.isFile(VirtualFile mountPoint, VirtualFile target) Ascertain whether a virtual file within this filesystem is a plain file.booleanFileSystem.isFile(VirtualFile mountPoint, VirtualFile target) Ascertain whether a virtual file within this filesystem is a plain file.booleanJavaZipFileSystem.isFile(VirtualFile mountPoint, VirtualFile target) Ascertain whether a virtual file within this filesystem is a plain file.booleanRealFileSystem.isFile(VirtualFile mountPoint, VirtualFile target) Ascertain whether a virtual file within this filesystem is a plain file.booleanRootFileSystem.isFile(VirtualFile mountPoint, VirtualFile target) Ascertain whether a virtual file within this filesystem is a plain file.AssemblyFileSystem.openInputStream(VirtualFile mountPoint, VirtualFile target) Open an input stream for the file at the given relative path.FileSystem.openInputStream(VirtualFile mountPoint, VirtualFile target) Open an input stream for the file at the given relative path.JavaZipFileSystem.openInputStream(VirtualFile mountPoint, VirtualFile target) Open an input stream for the file at the given relative path.RealFileSystem.openInputStream(VirtualFile mountPoint, VirtualFile target) Open an input stream for the file at the given relative path.RootFileSystem.openInputStream(VirtualFile mountPoint, VirtualFile target) Open an input stream for the file at the given relative path. -
Uses of VirtualFile in org.jboss.vfs.util
Fields in org.jboss.vfs.util declared as VirtualFileFields in org.jboss.vfs.util with type parameters of type VirtualFileModifier and TypeFieldDescriptionprivate List<VirtualFile> FilterVirtualFileVisitor.matchedWhat is matchedMethods in org.jboss.vfs.util that return types with arguments of type VirtualFileMethods in org.jboss.vfs.util with parameters of type VirtualFileModifier and TypeMethodDescriptionbooleanAbstractPatternVirtualFileFilter.accepts(VirtualFile file) booleanExtensibleFilter.accepts(VirtualFile file) If the filename matches any string in the prefix, suffix, or matches array, return false.booleanFileNameVirtualFileFilter.accepts(VirtualFile file) Do we accept file.booleanIncludeExcludeVisitorAttributes.accepts(VirtualFile file) booleanMatchAllVirtualFileFilter.accepts(VirtualFile file) booleanSuffixesExcludeFilter.accepts(VirtualFile file) booleanSuffixMatchFilter.accepts(VirtualFile file) Accept any file that ends with one of the filter suffixes.protected abstract StringAbstractPatternVirtualFileFilter.getMatchString(VirtualFile file) Extract match string from file.protected StringIncludeFileNameVirtualFileFilter.getMatchString(VirtualFile file) protected StringFileNameVirtualFileFilter.getPathName(VirtualFile file) Get the path name for the VirtualFile.voidFilterVirtualFileVisitor.visit(VirtualFile virtualFile) Constructors in org.jboss.vfs.util with parameters of type VirtualFile -
Uses of VirtualFile in org.jboss.vfs.util.automount
Subclasses with type arguments of type VirtualFile in org.jboss.vfs.util.automountMethods in org.jboss.vfs.util.automount with parameters of type VirtualFileModifier and TypeMethodDescriptionstatic booleanAutomounter.addHandle(VirtualFile owner, Closeable handle) Add handle to owner, to be auto closed.static voidAutomounter.cleanup(VirtualFile owner) Cleanup all references from the owner.private Automounter.RegistryEntryAutomounter.RegistryEntry.find(VirtualFile file) (package private) static Automounter.RegistryEntryAutomounter.getEntry(VirtualFile virtualFile) Get the entry from the tree creating the entry if not present.static booleanAutomounter.isMounted(VirtualFile target) Determines whether a targetVirtualFileis mounted.static voidAutomounter.mount(Object owner, VirtualFile target, MountOption... mountOptions) Mount providedVirtualFile(if not mounted) and add an owner entry.static voidAutomounter.mount(MountOwner owner, VirtualFile target, MountOption... mountOptions) Mount providedVirtualFile(if not mounted) and add an owner entry.static voidAutomounter.mount(VirtualFile target, MountOption... mountOptions) Mount providedVirtualFile(if not mounted) and set the owner to be the provided target.static voidAutomounter.mount(VirtualFile owner, VirtualFile target, MountOption... mountOptions) Mount providedVirtualFile(if not mounted) and add an owner entry.private voidAutomounter.RegistryEntry.mount(VirtualFile target, MountConfig mountConfig) static booleanAutomounter.removeHandle(VirtualFile owner, Closeable handle) Remove handle from owner.Constructors in org.jboss.vfs.util.automount with parameters of type VirtualFileModifierConstructorDescriptionVirtualFileOwner(VirtualFile file) Constructed with aVirtualFileowner