Uses of Class
org.jboss.vfs.VirtualFile
-
Packages that use VirtualFile Package Description org.jboss.vfs org.jboss.vfs.spi org.jboss.vfs.util org.jboss.vfs.util.automount -
-
Uses of VirtualFile in org.jboss.vfs
Methods in org.jboss.vfs that return VirtualFile Modifier and Type Method Description static VirtualFileVFS. getChild(String path)Find a virtual file.static VirtualFileVFS. getChild(URI uri)Find a virtual file.static VirtualFileVFS. getChild(URL url)Deprecated.use getChild(URI) insteadVirtualFileVirtualFile. getChild(String path)Get a child virtual file.VirtualFileVirtualFileAssembly. getFile(VirtualFile mountPoint, VirtualFile target)Get the VirtualFile from the assembly.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.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 List<VirtualFile>VFS. getChildren()Get the childrenstatic List<VirtualFile>VFS. getChildren(VirtualFileFilter filter)Get the childrenList<VirtualFile>VirtualFile. getChildren()Get the children.List<VirtualFile>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 recursivelyList<VirtualFile>VirtualFile. getChildrenRecursively()Get all the children recursivelyList<VirtualFile>VirtualFile. getChildrenRecursively(VirtualFileFilter filter)Get all the children recursivelyList<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 filevoidVirtualFileAssembly. 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.booleanVirtualFile. equals(VirtualFile o)Determine whether the given object is equal to this one.IOExceptionVFSMessages_$bundle. fileSystemAlreadyMountedAtMountPoint(VirtualFile mountPoint)IOExceptionVFSMessages. fileSystemAlreadyMountedAtMountPoint(VirtualFile mountPoint)List<String>VirtualFileAssembly. getChildNames(VirtualFile mountPoint, VirtualFile target)Returns a list of all the names of the children in the assembly.VirtualFileVirtualFileAssembly. 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 archiveStringVirtualFile. getPathNameRelativeTo(VirtualFile parent)Get the path name relative to a parent virtual file.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.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.IllegalArgumentExceptionVFSMessages_$bundle. parentIsNotAncestor(VirtualFile parent)IllegalArgumentExceptionVFSMessages. parentIsNotAncestor(VirtualFile parent)IllegalArgumentExceptionVFSMessages_$bundle. problemCreatingNewDirectory(VirtualFile targetChild)IllegalArgumentExceptionVFSMessages. 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.voidVFSLogger_$logger. vfsMountLeaked(VirtualFile mountPoint, Throwable cause)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 VirtualFile Modifier and Type Method Description static 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 VirtualFile Constructor Description VFSInputSource(VirtualFile file)VirtualJarEntry(String name, VirtualFile virtualFile, Attributes attributes)Construct a newVirtualJarInputStream(VirtualFile root)Construct aVirtualJarInputStreamfrom aVirtualFileroot -
Uses of VirtualFile in org.jboss.vfs.spi
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.CodeSigner[]AssemblyFileSystem. getCodeSigners(VirtualFile mountPoint, VirtualFile target)Get theCodeSigners for a the virtual file.CodeSigner[]FileSystem. getCodeSigners(VirtualFile mountPoint, VirtualFile target)Get theCodeSigners for a the virtual file.CodeSigner[]JavaZipFileSystem. getCodeSigners(VirtualFile mountPoint, VirtualFile target)Get theCodeSigners for a the virtual file.CodeSigner[]RealFileSystem. getCodeSigners(VirtualFile mountPoint, VirtualFile target)Get theCodeSigners for a the virtual file.CodeSigner[]RootFileSystem. getCodeSigners(VirtualFile mountPoint, VirtualFile target)Get theCodeSigners for a the virtual file.List<String>AssemblyFileSystem. getDirectoryEntries(VirtualFile mountPoint, VirtualFile target)Read a directory.List<String>FileSystem. getDirectoryEntries(VirtualFile mountPoint, VirtualFile target)Read a directory.List<String>JavaZipFileSystem. getDirectoryEntries(VirtualFile mountPoint, VirtualFile target)Read a directory.List<String>RealFileSystem. getDirectoryEntries(VirtualFile mountPoint, VirtualFile target)Read a directory.List<String>RootFileSystem. getDirectoryEntries(VirtualFile mountPoint, VirtualFile target)Read a directory.FileAssemblyFileSystem. getFile(VirtualFile mountPoint, VirtualFile target)Get a realFilefor the given path within this filesystem.FileFileSystem. getFile(VirtualFile mountPoint, VirtualFile target)Get a realFilefor the given path within this filesystem.FileJavaZipFileSystem. getFile(VirtualFile mountPoint, VirtualFile target)Get a realFilefor the given path within this filesystem.FileRealFileSystem. getFile(VirtualFile mountPoint, VirtualFile target)Get a realFilefor the given path within this filesystem.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.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.InputStreamAssemblyFileSystem. openInputStream(VirtualFile mountPoint, VirtualFile target)Open an input stream for the file at the given relative path.InputStreamFileSystem. openInputStream(VirtualFile mountPoint, VirtualFile target)Open an input stream for the file at the given relative path.InputStreamJavaZipFileSystem. openInputStream(VirtualFile mountPoint, VirtualFile target)Open an input stream for the file at the given relative path.InputStreamRealFileSystem. openInputStream(VirtualFile mountPoint, VirtualFile target)Open an input stream for the file at the given relative path.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
Methods in org.jboss.vfs.util that return types with arguments of type VirtualFile Modifier and Type Method Description 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 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 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, Closeable handle)Add handle to owner, to be auto closed.static voidAutomounter. cleanup(VirtualFile owner)Cleanup all references from the owner.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.static booleanAutomounter. removeHandle(VirtualFile owner, 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
-