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 VirtualFile
VirtualJarInputStream.currentVirtualFile
private VirtualFile
VFSInputSource.file
private final VirtualFile
VFS.Mount.mountPoint
private final VirtualFile
VirtualFileAssembly.mountRoot
private final VirtualFile
VirtualFile.parent
private final VirtualFile
VirtualJarInputStream.root
private static final VirtualFile
VFS.rootVirtualFile
private VirtualFile
VirtualFileAssembly.AssemblyNode.target
private final VirtualFile
VirtualJarInputStream.VirtualJarEntry.virtualFile
Fields in org.jboss.vfs with type parameters of type VirtualFileModifier and TypeFieldDescriptionprivate final Deque
<Iterator<VirtualFile>> VirtualJarInputStream.entryItr
private static final ConcurrentMap
<VirtualFile, Map<String, VFS.Mount>> VFS.mounts
Methods in org.jboss.vfs that return VirtualFileModifier and TypeMethodDescriptionprivate static VirtualFile
VFS.createDefaultRoot()
static VirtualFile
Find a virtual file.static VirtualFile
Find a virtual file.static VirtualFile
Deprecated.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) VirtualFile
VFS.Mount.getMountPoint()
VirtualFile.getParent()
Get aVirtualFile
which 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 VirtualFile
VFS.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 TypeMethodDescriptionboolean
VirtualFileFilter.accepts
(VirtualFile file) Match the virtual fileboolean
VisitorAttributes.AcceptAnyFilter.accepts
(VirtualFile file) void
VirtualFileAssembly.add
(String path, VirtualFile virtualFile) Add aVirtualFile
to the assembly in a given path.void
VirtualFileAssembly.add
(VirtualFile virtualFile) Add aVirtualFile
to the assembly.static void
VFSUtils.addManifestLocations
(VirtualFile file, List<VirtualFile> paths) Add manifest pathsboolean
VirtualFileAssembly.contains
(VirtualFile mountPoint, VirtualFile target) static void
VFSUtils.copyChildrenRecursive
(VirtualFile original, VirtualFile target) Copy all the children from the originalVirtualFile
the target recursively.static InputStream
VFSUtils.createJarFileInputStream
(VirtualFile virtualFile) Get an input stream that will always be consumable as a Zip/Jar file.private static MountHandle
VFS.doMount
(FileSystem fileSystem, VirtualFile mountPoint, Closeable... additionalCloseables) boolean
VirtualFile.equals
(VirtualFile o) Determine whether the given object is equal to this one.final IOException
VFSMessages_$bundle.fileSystemAlreadyMountedAtMountPoint
(VirtualFile mountPoint) VFSMessages.fileSystemAlreadyMountedAtMountPoint
(VirtualFile mountPoint) VirtualFileAssembly.getChildNames
(VirtualFile mountPoint, VirtualFile target) Returns a list of all the names of the children in the assembly.private String
VirtualJarInputStream.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 Manifest
VFSUtils.getManifest
(VirtualFile archive) Get a manifest from a virtual file, assuming the virtual file is the root of an archive(package private) static VFS.Mount
VFS.getMount
(VirtualFile virtualFile) VirtualFile.getPathNameRelativeTo
(VirtualFile parent) Get the path name relative to a parent virtual file.private void
VirtualFile.getPathNameRelativeTo
(VirtualFile parent, StringBuilder builder) static URI
VFSUtils.getPhysicalURI
(VirtualFile file) Get a physical URI for a virtual file.static URL
VFSUtils.getPhysicalURL
(VirtualFile file) Get a physical URL for a virtual file.static URI
VFSUtils.getRootURI
(VirtualFile file) Get the physical root URL of the filesystem of a virtual file.static URL
VFSUtils.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 URI
VFSUtils.getVirtualURI
(VirtualFile file) Get the virtual URI for a virtual file.static URL
VFSUtils.getVirtualURL
(VirtualFile file) Get the virtual URL for a virtual file.boolean
VisitorAttributes.isRecurse
(VirtualFile file) Whether to recurse into the non-leaf filestatic Closeable
VFS.mount
(VirtualFile mountPoint, FileSystem fileSystem) Mount a filesystem on a mount point in the VFS.static Closeable
VFS.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 Closeable
VFS.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 Closeable
VFS.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 Closeable
VFS.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 Closeable
VFS.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 Closeable
VFS.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 Closeable
VFS.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 Closeable
VFS.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 Closeable
VFS.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 void
VirtualJarInputStream.openCurrent
(VirtualFile current) Open the current virtual file as the current JarEntry stream.final IllegalArgumentException
VFSMessages_$bundle.parentIsNotAncestor
(VirtualFile parent) VFSMessages.parentIsNotAncestor
(VirtualFile parent) final IllegalArgumentException
VFSMessages_$bundle.problemCreatingNewDirectory
(VirtualFile targetChild) VFSMessages.problemCreatingNewDirectory
(VirtualFile targetChild) static Manifest
VFSUtils.readManifest
(VirtualFile manifest) Read the manifest from given manifest VirtualFile.static void
VFSUtils.recursiveCopy
(File original, VirtualFile destDir) Recursively copy a file or directory from one location to another.static void
VFSUtils.recursiveCopy
(VirtualFile original, File destDir) Recursively copy a file or directory from one location to another.static void
VFSUtils.recursiveCopy
(VirtualFile original, VirtualFile destDir) Recursively copy a file or directory from one location to another.static boolean
VFSUtils.recursiveDelete
(VirtualFile root) Attempt to recursively delete a virtual file.private void
VirtualFileAssembly.AssemblyNode.setTarget
(VirtualFile target) final void
VFSLogger_$logger.vfsMountLeaked
(VirtualFile mountPoint, Throwable cause) void
VFSLogger.vfsMountLeaked
(VirtualFile mountPoint, Throwable cause) protected static void
VFS.visit
(VirtualFile file, VirtualFileVisitor visitor) Visit the virtual file systemvoid
VirtualFileVisitor.visit
(VirtualFile virtualFile) Visit a virtual filestatic void
VFSUtils.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 void
VFSUtils.writeFile
(VirtualFile virtualFile, InputStream is) Write the content from the givenInputStream
to 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 void
VFSUtils.addManifestLocations
(VirtualFile file, List<VirtualFile> paths) Add manifest pathsstatic String
VFSUtils.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 aVirtualJarInputStream
from aVirtualFile
root -
Uses of VirtualFile in org.jboss.vfs.protocol
Fields in org.jboss.vfs.protocol declared as VirtualFileModifier and TypeFieldDescriptionprivate final VirtualFile
FileURLConnection.file
private final VirtualFile
VirtualFileURLConnection.file
private final VirtualFile
FileURLConnection.mountPoint
-
Uses of VirtualFile in org.jboss.vfs.spi
Methods in org.jboss.vfs.spi that return VirtualFileModifier and TypeMethodDescriptionprivate VirtualFile
AssemblyFileSystem.getExistingFile
(VirtualFile mountPoint, VirtualFile target) Methods in org.jboss.vfs.spi with parameters of type VirtualFileModifier and TypeMethodDescriptionboolean
AssemblyFileSystem.delete
(VirtualFile mountPoint, VirtualFile target) Attempt to delete a virtual file within this filesystem.boolean
FileSystem.delete
(VirtualFile mountPoint, VirtualFile target) Attempt to delete a virtual file within this filesystem.boolean
JavaZipFileSystem.delete
(VirtualFile mountPoint, VirtualFile target) Attempt to delete a virtual file within this filesystem.boolean
RealFileSystem.delete
(VirtualFile mountPoint, VirtualFile target) Attempt to delete a virtual file within this filesystem.boolean
RootFileSystem.delete
(VirtualFile mountPoint, VirtualFile target) Attempt to delete a virtual file within this filesystem.boolean
AssemblyFileSystem.exists
(VirtualFile mountPoint, VirtualFile target) Ascertain the existance of a virtual file within this filesystem.boolean
FileSystem.exists
(VirtualFile mountPoint, VirtualFile target) Ascertain the existance of a virtual file within this filesystem.boolean
JavaZipFileSystem.exists
(VirtualFile mountPoint, VirtualFile target) Ascertain the existance of a virtual file within this filesystem.boolean
RealFileSystem.exists
(VirtualFile mountPoint, VirtualFile target) Ascertain the existance of a virtual file within this filesystem.boolean
RootFileSystem.exists
(VirtualFile mountPoint, VirtualFile target) Ascertain the existance of a virtual file within this filesystem.private JavaZipFileSystem.ZipNode
JavaZipFileSystem.ZipNode.find
(VirtualFile mountPoint, VirtualFile target) AssemblyFileSystem.getCodeSigners
(VirtualFile mountPoint, VirtualFile target) Get theCodeSigner
s for a the virtual file.FileSystem.getCodeSigners
(VirtualFile mountPoint, VirtualFile target) Get theCodeSigner
s for a the virtual file.JavaZipFileSystem.getCodeSigners
(VirtualFile mountPoint, VirtualFile target) Get theCodeSigner
s for a the virtual file.RealFileSystem.getCodeSigners
(VirtualFile mountPoint, VirtualFile target) Get theCodeSigner
s for a the virtual file.RootFileSystem.getCodeSigners
(VirtualFile mountPoint, VirtualFile target) Get theCodeSigner
s 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 VirtualFile
AssemblyFileSystem.getExistingFile
(VirtualFile mountPoint, VirtualFile target) private JavaZipFileSystem.ZipNode
JavaZipFileSystem.getExistingZipNode
(VirtualFile mountPoint, VirtualFile target) AssemblyFileSystem.getFile
(VirtualFile mountPoint, VirtualFile target) Get a realFile
for the given path within this filesystem.FileSystem.getFile
(VirtualFile mountPoint, VirtualFile target) Get a realFile
for the given path within this filesystem.JavaZipFileSystem.getFile
(VirtualFile mountPoint, VirtualFile target) Get a realFile
for the given path within this filesystem.RealFileSystem.getFile
(VirtualFile mountPoint, VirtualFile target) Get a realFile
for the given path within this filesystem.RootFileSystem.getFile
(VirtualFile mountPoint, VirtualFile target) Get a realFile
for the given path within this filesystem.long
AssemblyFileSystem.getLastModified
(VirtualFile mountPoint, VirtualFile target) Get the last modification time of a virtual file within this filesystem.long
FileSystem.getLastModified
(VirtualFile mountPoint, VirtualFile target) Get the last modification time of a virtual file within this filesystem.long
JavaZipFileSystem.getLastModified
(VirtualFile mountPoint, VirtualFile target) Get the last modification time of a virtual file within this filesystem.long
RealFileSystem.getLastModified
(VirtualFile mountPoint, VirtualFile target) Get the last modification time of a virtual file within this filesystem.long
RootFileSystem.getLastModified
(VirtualFile mountPoint, VirtualFile target) Get the last modification time of a virtual file within this filesystem.long
AssemblyFileSystem.getSize
(VirtualFile mountPoint, VirtualFile target) Get the size of a virtual file within this filesystem.long
FileSystem.getSize
(VirtualFile mountPoint, VirtualFile target) Get the size of a virtual file within this filesystem.long
JavaZipFileSystem.getSize
(VirtualFile mountPoint, VirtualFile target) Get the size of a virtual file within this filesystem.long
RealFileSystem.getSize
(VirtualFile mountPoint, VirtualFile target) Get the size of a virtual file within this filesystem.long
RootFileSystem.getSize
(VirtualFile mountPoint, VirtualFile target) Get the size of a virtual file within this filesystem.private JavaZipFileSystem.ZipNode
JavaZipFileSystem.getZipNode
(VirtualFile mountPoint, VirtualFile target) boolean
AssemblyFileSystem.isDirectory
(VirtualFile mountPoint, VirtualFile target) Ascertain whether a virtual file within this filesystem is a directory.boolean
FileSystem.isDirectory
(VirtualFile mountPoint, VirtualFile target) Ascertain whether a virtual file within this filesystem is a directory.boolean
JavaZipFileSystem.isDirectory
(VirtualFile mountPoint, VirtualFile target) Ascertain whether a virtual file within this filesystem is a directory.boolean
RealFileSystem.isDirectory
(VirtualFile mountPoint, VirtualFile target) Ascertain whether a virtual file within this filesystem is a directory.boolean
RootFileSystem.isDirectory
(VirtualFile mountPoint, VirtualFile target) Ascertain whether a virtual file within this filesystem is a directory.boolean
AssemblyFileSystem.isFile
(VirtualFile mountPoint, VirtualFile target) Ascertain whether a virtual file within this filesystem is a plain file.boolean
FileSystem.isFile
(VirtualFile mountPoint, VirtualFile target) Ascertain whether a virtual file within this filesystem is a plain file.boolean
JavaZipFileSystem.isFile
(VirtualFile mountPoint, VirtualFile target) Ascertain whether a virtual file within this filesystem is a plain file.boolean
RealFileSystem.isFile
(VirtualFile mountPoint, VirtualFile target) Ascertain whether a virtual file within this filesystem is a plain file.boolean
RootFileSystem.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.matched
What 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 TypeMethodDescriptionboolean
AbstractPatternVirtualFileFilter.accepts
(VirtualFile file) boolean
ExtensibleFilter.accepts
(VirtualFile file) If the filename matches any string in the prefix, suffix, or matches array, return false.boolean
FileNameVirtualFileFilter.accepts
(VirtualFile file) Do we accept file.boolean
IncludeExcludeVisitorAttributes.accepts
(VirtualFile file) boolean
MatchAllVirtualFileFilter.accepts
(VirtualFile file) boolean
SuffixesExcludeFilter.accepts
(VirtualFile file) boolean
SuffixMatchFilter.accepts
(VirtualFile file) Accept any file that ends with one of the filter suffixes.protected abstract String
AbstractPatternVirtualFileFilter.getMatchString
(VirtualFile file) Extract match string from file.protected String
IncludeFileNameVirtualFileFilter.getMatchString
(VirtualFile file) protected String
FileNameVirtualFileFilter.getPathName
(VirtualFile file) Get the path name for the VirtualFile.void
FilterVirtualFileVisitor.visit
(VirtualFile virtualFile) Constructors in org.jboss.vfs.util with parameters of type VirtualFile -
Uses of VirtualFile in org.jboss.vfs.util.automount
Methods in org.jboss.vfs.util.automount with parameters of type VirtualFileModifier and TypeMethodDescriptionstatic boolean
Automounter.addHandle
(VirtualFile owner, Closeable handle) Add handle to owner, to be auto closed.static void
Automounter.cleanup
(VirtualFile owner) Cleanup all references from the owner.private Automounter.RegistryEntry
Automounter.RegistryEntry.find
(VirtualFile file) (package private) static Automounter.RegistryEntry
Automounter.getEntry
(VirtualFile virtualFile) Get the entry from the tree creating the entry if not present.static boolean
Automounter.isMounted
(VirtualFile target) Determines whether a targetVirtualFile
is mounted.static void
Automounter.mount
(Object owner, VirtualFile target, MountOption... mountOptions) Mount providedVirtualFile
(if not mounted) and add an owner entry.static void
Automounter.mount
(MountOwner owner, VirtualFile target, MountOption... mountOptions) Mount providedVirtualFile
(if not mounted) and add an owner entry.static void
Automounter.mount
(VirtualFile target, MountOption... mountOptions) Mount providedVirtualFile
(if not mounted) and set the owner to be the provided target.static void
Automounter.mount
(VirtualFile owner, VirtualFile target, MountOption... mountOptions) Mount providedVirtualFile
(if not mounted) and add an owner entry.private void
Automounter.RegistryEntry.mount
(VirtualFile target, MountConfig mountConfig) static boolean
Automounter.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 aVirtualFile
owner