Uses of Class
org.jboss.vfs.VirtualFile
-
Packages that use VirtualFile Package Description org.jboss.vfs org.jboss.vfs.protocol org.jboss.vfs.spi org.jboss.vfs.util org.jboss.vfs.util.automount -
-
Uses of VirtualFile in org.jboss.vfs
Fields in org.jboss.vfs declared as VirtualFile Modifier and Type Field Description private VirtualFileVirtualJarInputStream. currentVirtualFileprivate VirtualFileVFSInputSource. fileprivate VirtualFileVFS.Mount. mountPointprivate VirtualFileVirtualFileAssembly. mountRootprivate VirtualFileVirtualFile. parentprivate VirtualFileVirtualJarInputStream. rootprivate static VirtualFileVFS. rootVirtualFileprivate VirtualFileVirtualFileAssembly.AssemblyNode. targetprivate VirtualFileVirtualJarInputStream.VirtualJarEntry. virtualFileFields in org.jboss.vfs with type parameters of type VirtualFile Modifier and Type Field Description private java.util.Deque<java.util.Iterator<VirtualFile>>VirtualJarInputStream. entryItrprivate static java.util.concurrent.ConcurrentMap<VirtualFile,java.util.Map<java.lang.String,VFS.Mount>>VFS. mountsMethods in org.jboss.vfs that return VirtualFile Modifier and Type Method Description private static VirtualFileVFS. createDefaultRoot()static VirtualFileVFS. getChild(java.lang.String path)Find a virtual file.static VirtualFileVFS. getChild(java.net.URI uri)Find a virtual file.static VirtualFileVFS. getChild(java.net.URL url)Deprecated.use getChild(URI) insteadVirtualFileVirtualFile. getChild(java.lang.String path)Get a child virtual file.VirtualFileVirtualFileAssembly.AssemblyNode. getFile(VirtualFileAssembly.Path path, VirtualFile assemblyMountPoint)Get the VirtualFile for a given path.VirtualFileVirtualFileAssembly. getFile(VirtualFile mountPoint, VirtualFile target)Get the VirtualFile from the assembly.(package private) VirtualFileVFS.Mount. getMountPoint()VirtualFileVirtualFile. getParent()Get aVirtualFilewhich represents the parent of this instance.VirtualFile[]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 VirtualFile Modifier and Type Method Description static java.util.List<VirtualFile>VFS. getChildren()Get the childrenstatic java.util.List<VirtualFile>VFS. getChildren(VirtualFileFilter filter)Get the childrenjava.util.List<VirtualFile>VirtualFile. getChildren()Get the children.java.util.List<VirtualFile>VirtualFile. getChildren(VirtualFileFilter filter)Get the childrenstatic java.util.List<VirtualFile>VFS. getChildrenRecursively()Get all the children recursivelystatic java.util.List<VirtualFile>VFS. getChildrenRecursively(VirtualFileFilter filter)Get all the children recursivelyjava.util.List<VirtualFile>VirtualFile. getChildrenRecursively()Get all the children recursivelyjava.util.List<VirtualFile>VirtualFile. getChildrenRecursively(VirtualFileFilter filter)Get all the children recursivelyjava.util.List<VirtualFile>VirtualFile. 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 VirtualFile Modifier and Type Method Description booleanVirtualFileFilter. accepts(VirtualFile file)Match the virtual filebooleanVisitorAttributes.AcceptAnyFilter. accepts(VirtualFile file)voidVirtualFileAssembly. add(java.lang.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, java.util.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 java.io.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, java.io.Closeable... additionalCloseables)booleanVirtualFile. equals(VirtualFile o)Determine whether the given object is equal to this one.java.io.IOExceptionVFSMessages_$bundle. fileSystemAlreadyMountedAtMountPoint(VirtualFile mountPoint)java.io.IOExceptionVFSMessages. fileSystemAlreadyMountedAtMountPoint(VirtualFile mountPoint)java.util.List<java.lang.String>VirtualFileAssembly. getChildNames(VirtualFile mountPoint, VirtualFile target)Returns a list of all the names of the children in the assembly.private java.lang.StringVirtualJarInputStream. getEntryName(VirtualFile entry)Get the entry name from a VirtualFile.VirtualFileVirtualFileAssembly.AssemblyNode. getFile(VirtualFileAssembly.Path path, VirtualFile assemblyMountPoint)Get the VirtualFile for a given path.VirtualFileVirtualFileAssembly. getFile(VirtualFile mountPoint, VirtualFile target)Get the VirtualFile from the assembly.static java.util.jar.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)java.lang.StringVirtualFile. getPathNameRelativeTo(VirtualFile parent)Get the path name relative to a parent virtual file.private voidVirtualFile. getPathNameRelativeTo(VirtualFile parent, java.lang.StringBuilder builder)static java.net.URIVFSUtils. getPhysicalURI(VirtualFile file)Get a physical URI for a virtual file.static java.net.URLVFSUtils. getPhysicalURL(VirtualFile file)Get a physical URL for a virtual file.static java.net.URIVFSUtils. getRootURI(VirtualFile file)Get the physical root URL of the filesystem of a virtual file.static java.net.URLVFSUtils. getRootURL(VirtualFile file)Get the physical root URL of the filesystem of a virtual file.(package private) static java.util.Set<java.lang.String>VFS. getSubmounts(VirtualFile virtualFile)Get all immediate submounts for a path.static java.net.URIVFSUtils. getVirtualURI(VirtualFile file)Get the virtual URI for a virtual file.static java.net.URLVFSUtils. getVirtualURL(VirtualFile file)Get the virtual URL for a virtual file.booleanVisitorAttributes. isRecurse(VirtualFile file)Whether to recurse into the non-leaf filestatic java.io.CloseableVFS. mount(VirtualFile mountPoint, FileSystem fileSystem)Mount a filesystem on a mount point in the VFS.static java.io.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 java.io.CloseableVFS. mountReal(java.io.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 java.io.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 java.io.CloseableVFS. mountZip(java.io.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 java.io.CloseableVFS. mountZip(java.io.InputStream zipData, java.lang.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 java.io.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 java.io.CloseableVFS. mountZipExpanded(java.io.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 java.io.CloseableVFS. mountZipExpanded(java.io.InputStream zipData, java.lang.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 java.io.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.java.lang.IllegalArgumentExceptionVFSMessages_$bundle. parentIsNotAncestor(VirtualFile parent)java.lang.IllegalArgumentExceptionVFSMessages. parentIsNotAncestor(VirtualFile parent)java.lang.IllegalArgumentExceptionVFSMessages_$bundle. problemCreatingNewDirectory(VirtualFile targetChild)java.lang.IllegalArgumentExceptionVFSMessages. problemCreatingNewDirectory(VirtualFile targetChild)static java.util.jar.ManifestVFSUtils. readManifest(VirtualFile manifest)Read the manifest from given manifest VirtualFile.static voidVFSUtils. recursiveCopy(java.io.File original, VirtualFile destDir)Recursively copy a file or directory from one location to another.static voidVFSUtils. recursiveCopy(VirtualFile original, java.io.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_$logger. vfsMountLeaked(VirtualFile mountPoint, java.lang.Throwable cause)voidVFSLogger. vfsMountLeaked(VirtualFile mountPoint, java.lang.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, java.io.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 VirtualFile Modifier and Type Method Description static voidVFSUtils. addManifestLocations(VirtualFile file, java.util.List<VirtualFile> paths)Add manifest pathsstatic java.lang.StringVFSUtils. getPathsString(java.util.Collection<VirtualFile> paths)Get the paths string for a collection of virtual filesConstructors in org.jboss.vfs with parameters of type VirtualFile Constructor Description Mount(FileSystem fileSystem, VirtualFile mountPoint)VFSInputSource(VirtualFile file)VirtualFile(java.lang.String name, VirtualFile parent)VirtualJarEntry(java.lang.String name, VirtualFile virtualFile, java.util.jar.Attributes attributes)Construct a newVirtualJarInputStream(VirtualFile root)Construct aVirtualJarInputStreamfrom aVirtualFileroot -
Uses of VirtualFile in org.jboss.vfs.protocol
Fields in org.jboss.vfs.protocol declared as VirtualFile Modifier and Type Field Description private VirtualFileFileURLConnection. fileprivate VirtualFileVirtualFileURLConnection. fileprivate VirtualFileFileURLConnection. mountPoint -
Uses of VirtualFile in org.jboss.vfs.spi
Methods in org.jboss.vfs.spi that return VirtualFile Modifier and Type Method Description private VirtualFileAssemblyFileSystem. getExistingFile(VirtualFile mountPoint, VirtualFile target)Methods in org.jboss.vfs.spi with parameters of type VirtualFile Modifier and Type Method Description booleanAssemblyFileSystem. 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)java.security.CodeSigner[]AssemblyFileSystem. getCodeSigners(VirtualFile mountPoint, VirtualFile target)Get theCodeSigners for a the virtual file.java.security.CodeSigner[]FileSystem. getCodeSigners(VirtualFile mountPoint, VirtualFile target)Get theCodeSigners for a the virtual file.java.security.CodeSigner[]JavaZipFileSystem. getCodeSigners(VirtualFile mountPoint, VirtualFile target)Get theCodeSigners for a the virtual file.java.security.CodeSigner[]RealFileSystem. getCodeSigners(VirtualFile mountPoint, VirtualFile target)Get theCodeSigners for a the virtual file.java.security.CodeSigner[]RootFileSystem. getCodeSigners(VirtualFile mountPoint, VirtualFile target)Get theCodeSigners for a the virtual file.java.util.List<java.lang.String>AssemblyFileSystem. getDirectoryEntries(VirtualFile mountPoint, VirtualFile target)Read a directory.java.util.List<java.lang.String>FileSystem. getDirectoryEntries(VirtualFile mountPoint, VirtualFile target)Read a directory.java.util.List<java.lang.String>JavaZipFileSystem. getDirectoryEntries(VirtualFile mountPoint, VirtualFile target)Read a directory.java.util.List<java.lang.String>RealFileSystem. getDirectoryEntries(VirtualFile mountPoint, VirtualFile target)Read a directory.java.util.List<java.lang.String>RootFileSystem. getDirectoryEntries(VirtualFile mountPoint, VirtualFile target)Read a directory.private VirtualFileAssemblyFileSystem. getExistingFile(VirtualFile mountPoint, VirtualFile target)private JavaZipFileSystem.ZipNodeJavaZipFileSystem. getExistingZipNode(VirtualFile mountPoint, VirtualFile target)java.io.FileAssemblyFileSystem. getFile(VirtualFile mountPoint, VirtualFile target)Get a realFilefor the given path within this filesystem.java.io.FileFileSystem. getFile(VirtualFile mountPoint, VirtualFile target)Get a realFilefor the given path within this filesystem.java.io.FileJavaZipFileSystem. getFile(VirtualFile mountPoint, VirtualFile target)Get a realFilefor the given path within this filesystem.java.io.FileRealFileSystem. getFile(VirtualFile mountPoint, VirtualFile target)Get a realFilefor the given path within this filesystem.java.io.FileRootFileSystem. 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.java.io.InputStreamAssemblyFileSystem. openInputStream(VirtualFile mountPoint, VirtualFile target)Open an input stream for the file at the given relative path.java.io.InputStreamFileSystem. openInputStream(VirtualFile mountPoint, VirtualFile target)Open an input stream for the file at the given relative path.java.io.InputStreamJavaZipFileSystem. openInputStream(VirtualFile mountPoint, VirtualFile target)Open an input stream for the file at the given relative path.java.io.InputStreamRealFileSystem. openInputStream(VirtualFile mountPoint, VirtualFile target)Open an input stream for the file at the given relative path.java.io.InputStreamRootFileSystem. 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 VirtualFile Modifier and Type Field Description private VirtualFileLazyInputStream. fileFields in org.jboss.vfs.util with type parameters of type VirtualFile Modifier and Type Field Description private java.util.List<VirtualFile>FilterVirtualFileVisitor. matchedWhat is matchedMethods in org.jboss.vfs.util that return types with arguments of type VirtualFile Modifier and Type Method Description java.util.List<VirtualFile>FilterVirtualFileVisitor. getMatched()Get the matched filesMethods in org.jboss.vfs.util with parameters of type VirtualFile Modifier and Type Method Description booleanAbstractPatternVirtualFileFilter. 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 java.lang.StringAbstractPatternVirtualFileFilter. getMatchString(VirtualFile file)Extract match string from file.protected java.lang.StringIncludeFileNameVirtualFileFilter. getMatchString(VirtualFile file)protected java.lang.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 Constructor Description LazyInputStream(VirtualFile file) -
Uses of VirtualFile in org.jboss.vfs.util.automount
Methods in org.jboss.vfs.util.automount with parameters of type VirtualFile Modifier and Type Method Description static booleanAutomounter. addHandle(VirtualFile owner, java.io.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(java.lang.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, java.io.Closeable handle)Remove handle from owner.Constructors in org.jboss.vfs.util.automount with parameters of type VirtualFile Constructor Description VirtualFileOwner(VirtualFile file)Constructed with aVirtualFileowner
-