Uses of Interface
org.apache.commons.vfs2.FileObject
Packages that use FileObject
Package
Description
The public VFS API.
VFS File caching.
VFS Events.
Implementations of
FileFilter.The standard VFS implementation.
VFS Operations handling.
VFS version control operations.
The File Provider API, and utility classes.
The BZIP2 File Provider.
The compressed file provider.
The FTP File Provider.
The GZIP File Provider.
The HTTP File Provider.
The HTTP4 File Provider.
The HTTP5 File Provider.
The Jar File Provider.
The Local File Provider.
The RAM File Provider.
The Resource File Provider.
The SFTP Provider.
The Tar File Provider.
The Temporary Filespace Provider.
The Default File Provider, which wraps
URL.The Zip File Provider.
Utility classes used by the VFS.
-
Uses of FileObject in org.apache.commons.vfs2
Fields in org.apache.commons.vfs2 declared as FileObjectModifier and TypeFieldDescriptionstatic final FileObject[]FileObject.EMPTY_ARRAYAn empty immutableFileObjectarray.Methods in org.apache.commons.vfs2 that return FileObjectModifier and TypeMethodDescriptionFileSystemManager.createFileSystem(String provider, FileObject file) Creates a layered file system.FileSystemManager.createFileSystem(FileObject file) Creates a layered file system.FileSystemManager.createVirtualFileSystem(String rootUri) Creates an empty virtual file system.FileSystemManager.createVirtualFileSystem(FileObject rootFile) Creates a virtual file system.FileObject.findFiles(FileSelector selector) Finds the set of matching descendants of this file, in depthwise order.FileSystemManager.getBaseFile()Returns the base file used to resolve relative paths.FileSelectInfo.getBaseFolder()Gets the base folder of the traversal.Gets a child of this file.FileObject.getChildren()Gets a lists of children of this file.FileChangeEvent.getFile()Deprecated.FileContent.getFile()Gets the file which this is the content of.FilesCache.getFile(FileSystem fileSystem, FileName fileName) Retrieves a FileObject from the cache by name.FileSelectInfo.getFile()Gets the file (or folder) to be considered.FileChangeEvent.getFileObject()Returns the file that changed.FileObject.getParent()Gets the folder that contains this file.FileSystem.getParentLayer()Returns the parent layer if this is a layered file system.FileSystem.getRoot()Returns the root file of this file system.FileObject.resolveFile(String path) Finds a file, relative to this file.FileObject.resolveFile(String name, NameScope scope) Finds a file relative to this file.FileSystem.resolveFile(String name) Finds a file in this file system.FileSystem.resolveFile(FileName name) Finds a file in this file system.FileSystemManager.resolveFile(File baseFile, String name) Locates a file by name.FileSystemManager.resolveFile(String name) Locates a file by name.FileSystemManager.resolveFile(String name, FileSystemOptions fileSystemOptions) Locates a file by name.FileSystemManager.resolveFile(URI uri) Resolves a URI into aFileObject.FileSystemManager.resolveFile(URL url) Resolves a URL into aFileObject.FileSystemManager.resolveFile(FileObject baseFile, String name) Locates a file by name.FileSystemManager.toFileObject(File file) Converts a local file into aFileObject.default FileObjectFileSystemManager.toFileObject(Path path) Converts a local path into aFileObject.Methods in org.apache.commons.vfs2 with parameters of type FileObjectModifier and TypeMethodDescriptionvoidFileMonitor.addFile(FileObject file) Adds a file to be monitored.voidFileSystem.addJunction(String junctionPoint, FileObject targetFile) Adds a junction to this file system.voidFileSystem.addListener(FileObject file, FileListener listener) Adds a listener on a file in this file system.booleanFileSystemManager.canCreateFileSystem(FileObject file) Determines if a layered file system can be created for a given file.booleanFileObject.canRenameTo(FileObject newfile) Queries the file if it is possible to rename it to newfile.static voidFileUtil.copyContent(FileObject srcFile, FileObject destFile) Deprecated.voidFileObject.copyFrom(FileObject srcFile, FileSelector selector) Copies another file, and all its descendants, to this file.FileSystemManager.createFileSystem(String provider, FileObject file) Creates a layered file system.FileSystemManager.createFileSystem(FileObject file) Creates a layered file system.FileSystemManager.createVirtualFileSystem(FileObject rootFile) Creates a virtual file system.static byte[]FileUtil.getContent(FileObject file) Deprecated.voidFileObject.moveTo(FileObject destFile) Move this file.voidFilesCache.putFile(FileObject file) Adds a FileObject to the cache.booleanFilesCache.putFileIfAbsent(FileObject file) Adds a FileObject to the cache if it isn't already present.voidFileMonitor.removeFile(FileObject file) Removes a file from being monitored.voidFileSystem.removeListener(FileObject file, FileListener listener) Removes a listener from a file in this file system.FileSystem.replicateFile(FileObject file, FileSelector selector) Creates a temporary local copy of a file and its descendants.FileSystemManager.resolveFile(FileObject baseFile, String name) Locates a file by name.longFileContent.write(FileObject file) Writes this content to another FileObject.static voidFileUtil.writeContent(FileObject file, OutputStream output) Deprecated.Method parameters in org.apache.commons.vfs2 with type arguments of type FileObjectModifier and TypeMethodDescriptionvoidFileObject.findFiles(FileSelector selector, boolean depthwise, List<FileObject> selected) Finds the set of matching descendants of this file.Constructors in org.apache.commons.vfs2 with parameters of type FileObject -
Uses of FileObject in org.apache.commons.vfs2.cache
Classes in org.apache.commons.vfs2.cache that implement FileObjectModifier and TypeClassDescriptionclassThis decorator refreshes the fileObject data on every call.Methods in org.apache.commons.vfs2.cache that return FileObjectModifier and TypeMethodDescriptionOnCallRefreshFileObject.findFiles(FileSelector selector) OnCallRefreshFileObject.getChildren()DefaultFilesCache.getFile(FileSystem filesystem, FileName name) LRUFilesCache.getFile(FileSystem filesystem, FileName name) NullFilesCache.getFile(FileSystem filesystem, FileName name) SoftRefFilesCache.getFile(FileSystem fileSystem, FileName fileName) OnCallRefreshFileObject.resolveFile(String path) OnCallRefreshFileObject.resolveFile(String name, NameScope scope) Methods in org.apache.commons.vfs2.cache that return types with arguments of type FileObjectModifier and TypeMethodDescriptionprotected Reference<FileObject> SoftRefFilesCache.createReference(FileObject file, ReferenceQueue<FileObject> referenceQueue) Constructs a new Reference.protected Reference<FileObject> WeakRefFilesCache.createReference(FileObject file, ReferenceQueue<FileObject> refqueue) protected ConcurrentMap<FileName, FileObject> DefaultFilesCache.getOrCreateFilesystemCache(FileSystem fileSystem) Gets or creates a Map.protected Map<FileName, FileObject> LRUFilesCache.getOrCreateFilesystemCache(FileSystem fileSystem) Gets or creates a new Map.protected Map<FileName, Reference<FileObject>> SoftRefFilesCache.getOrCreateFilesystemCache(FileSystem fileSystem) Gets or creates a new Map.Methods in org.apache.commons.vfs2.cache with parameters of type FileObjectModifier and TypeMethodDescriptionvoidOnCallRefreshFileObject.copyFrom(FileObject srcFile, FileSelector selector) protected Reference<FileObject> SoftRefFilesCache.createReference(FileObject file, ReferenceQueue<FileObject> referenceQueue) Constructs a new Reference.protected Reference<FileObject> WeakRefFilesCache.createReference(FileObject file, ReferenceQueue<FileObject> refqueue) voidOnCallRefreshFileObject.moveTo(FileObject destFile) voidDefaultFilesCache.putFile(FileObject file) voidLRUFilesCache.putFile(FileObject file) voidNullFilesCache.putFile(FileObject file) voidSoftRefFilesCache.putFile(FileObject fileObject) booleanDefaultFilesCache.putFileIfAbsent(FileObject file) booleanLRUFilesCache.putFileIfAbsent(FileObject file) booleanNullFilesCache.putFileIfAbsent(FileObject file) booleanSoftRefFilesCache.putFileIfAbsent(FileObject fileObject) voidAbstractFilesCache.touchFile(FileObject file) Default implementation is a NOOP.voidLRUFilesCache.touchFile(FileObject file) Method parameters in org.apache.commons.vfs2.cache with type arguments of type FileObjectModifier and TypeMethodDescriptionprotected Reference<FileObject> SoftRefFilesCache.createReference(FileObject file, ReferenceQueue<FileObject> referenceQueue) Constructs a new Reference.protected Reference<FileObject> WeakRefFilesCache.createReference(FileObject file, ReferenceQueue<FileObject> refqueue) voidOnCallRefreshFileObject.findFiles(FileSelector selector, boolean depthwise, List<FileObject> selected) Constructors in org.apache.commons.vfs2.cache with parameters of type FileObjectModifierConstructorDescriptionOnCallRefreshFileObject(FileObject fileObject) Constructs a new instance to decorate the given file object. -
Uses of FileObject in org.apache.commons.vfs2.events
Constructors in org.apache.commons.vfs2.events with parameters of type FileObjectModifierConstructorDescriptionAbstractFileChangeEvent(FileObject fileObject) Constructs a new instance for subclasses.ChangedEvent(FileObject fileObject) Constructs a new instance.CreateEvent(FileObject fileObject) Constructs a new instance.DeleteEvent(FileObject fileObject) Constructs a new instance. -
Uses of FileObject in org.apache.commons.vfs2.filter
Constructors in org.apache.commons.vfs2.filter with parameters of type FileObjectModifierConstructorDescriptionAgeFileFilter(FileObject cutoffReference) Constructs a new age file filter for files older than (at or before) a certain File (whose last modification time will be used as reference).AgeFileFilter(FileObject cutoffReference, boolean acceptOlder) Constructs a new age file filter for files on any one side of a certain File (whose last modification time will be used as reference). -
Uses of FileObject in org.apache.commons.vfs2.impl
Classes in org.apache.commons.vfs2.impl that implement FileObjectModifier and TypeClassDescriptionclassBase class to build a FileObject decoration.classThis decorator synchronizes all access to the FileObject.Methods in org.apache.commons.vfs2.impl that return FileObjectModifier and TypeMethodDescriptionprotected FileObjectVirtualFileSystem.createFile(AbstractFileName name) Creates a file object.DefaultFileSystemManager.createFileSystem(String scheme, FileObject file) Creates a layered file system.DefaultFileSystemManager.createFileSystem(FileObject file) Creates a layered file system.VirtualFileProvider.createFileSystem(String rootUri) Creates an empty virtual file system.VirtualFileProvider.createFileSystem(FileObject rootFile) Creates a virtual file system, with the supplied file as its root.DefaultFileSystemManager.createVirtualFileSystem(String rootUri) Creates an empty virtual file system.DefaultFileSystemManager.createVirtualFileSystem(FileObject rootFile) Creates a virtual file system.DecoratedFileObject.findFiles(FileSelector selector) SynchronizedFileObject.findFiles(FileSelector selector) DefaultFileSystemManager.getBaseFile()Gets the base file used to resolve relative URI.DecoratedFileObject.getChildren()SynchronizedFileObject.getChildren()DecoratedFileObject.getDecoratedFileObject()Gets the decorated fileObject.VFSClassLoader.getFileObjects()Provide access to the file objects this class loader represents.DecoratedFileObject.getParent()DecoratedFileObject.resolveFile(String path) DecoratedFileObject.resolveFile(String name, NameScope scope) DefaultFileSystemManager.resolveFile(File baseFile, String uri) Resolves a URI, relative to base file.DefaultFileSystemManager.resolveFile(String uri) Locates a file by URI.DefaultFileSystemManager.resolveFile(String uri, FileSystemOptions fileSystemOptions) Resolves a file by URI, use the FileSystemOptions for file-system creation.DefaultFileSystemManager.resolveFile(URI uri) Resolves a URI into aFileObject.DefaultFileSystemManager.resolveFile(URL url) Resolves a URL into aFileObject.DefaultFileSystemManager.resolveFile(FileObject baseFile, String uri) Resolves a URI, relative to a base file.DefaultFileSystemManager.resolveFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Resolves a URI, relative to a base file with specified FileSystem configuration.SynchronizedFileObject.resolveFile(String path) SynchronizedFileObject.resolveFile(String name, NameScope scope) DefaultFileSystemManager.toFileObject(File file) Converts a local file into aFileObject.Methods in org.apache.commons.vfs2.impl that return types with arguments of type FileObjectMethods in org.apache.commons.vfs2.impl with parameters of type FileObjectModifier and TypeMethodDescriptionvoidDefaultFileMonitor.addFile(FileObject file) Adds a file to be monitored.voidVirtualFileSystem.addJunction(String junctionPoint, FileObject targetFile) Adds a junction to this file system.booleanDefaultFileSystemManager.canCreateFileSystem(FileObject file) Tests if a layered file system can be created for a given file.booleanDecoratedFileObject.canRenameTo(FileObject newfile) intDecoratedFileObject.compareTo(FileObject fo) voidDecoratedFileObject.copyFrom(FileObject srcFile, FileSelector selector) voidSynchronizedFileObject.copyFrom(FileObject srcFile, FileSelector selector) DefaultFileSystemManager.createFileSystem(String scheme, FileObject file) Creates a layered file system.DefaultFileSystemManager.createFileSystem(FileObject file) Creates a layered file system.VirtualFileProvider.createFileSystem(FileObject rootFile) Creates a virtual file system, with the supplied file as its root.DefaultFileSystemManager.createVirtualFileSystem(FileObject rootFile) Creates a virtual file system.voidDecoratedFileObject.moveTo(FileObject destFile) voidSynchronizedFileObject.moveTo(FileObject destFile) protected voidDefaultFileMonitor.queueAddFile(FileObject file) Queues a file for addition to be monitored.protected voidDefaultFileMonitor.queueRemoveFile(FileObject file) Queues a file for removal from being monitored.voidDefaultFileMonitor.removeFile(FileObject file) Removes a file from being monitored.DefaultFileReplicator.replicateFile(FileObject srcFile, FileSelector selector) Creates a local copy of the file, and all its descendants.PrivilegedFileReplicator.replicateFile(FileObject srcFile, FileSelector selector) Creates a local copy of the file, and all its descendants.DefaultFileSystemManager.resolveFile(FileObject baseFile, String uri) Resolves a URI, relative to a base file.DefaultFileSystemManager.resolveFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Resolves a URI, relative to a base file with specified FileSystem configuration.voidDefaultFileSystemManager.setBaseFile(FileObject baseFile) Sets the base file to use when resolving relative URI.Method parameters in org.apache.commons.vfs2.impl with type arguments of type FileObjectModifier and TypeMethodDescriptionvoidDecoratedFileObject.findFiles(FileSelector selector, boolean depthwise, List<FileObject> selected) voidSynchronizedFileObject.findFiles(FileSelector selector, boolean depthwise, List<FileObject> selected) Constructors in org.apache.commons.vfs2.impl with parameters of type FileObjectModifierConstructorDescriptionDecoratedFileObject(FileObject fileObject) Constructs a new instance to decorate the given FileObject.SynchronizedFileObject(FileObject fileObject) Constructs a new instance.VFSClassLoader(FileObject[] files, FileSystemManager manager) Constructors a new VFSClassLoader for the given files.VFSClassLoader(FileObject[] files, FileSystemManager manager, ClassLoader parent) Constructors a new VFSClassLoader for the given FileObjects.VFSClassLoader(FileObject file, FileSystemManager manager) Constructors a new VFSClassLoader for the given file.VFSClassLoader(FileObject file, FileSystemManager manager, ClassLoader parent) Constructors a new VFSClassLoader for the given file. -
Uses of FileObject in org.apache.commons.vfs2.operations
Methods in org.apache.commons.vfs2.operations that return FileObjectModifier and TypeMethodDescriptionprotected FileObjectAbstractFileOperation.getFileObject()Gets the instance of FileObject for this FileOperation.Methods in org.apache.commons.vfs2.operations with parameters of type FileObjectModifier and TypeMethodDescriptionfinal voidAbstractFileOperationProvider.collectOperations(Collection<Class<? extends FileOperation>> operationsList, FileObject file) Gather available operations for the specified FileObject and put them into specified operationsList.voidFileOperationProvider.collectOperations(Collection<Class<? extends FileOperation>> operationsList, FileObject file) Gather available operations for the specified FileObject and put them into specified operationsList.protected abstract voidAbstractFileOperationProvider.doCollectOperations(Collection<Class<? extends FileOperation>> availableOperations, Collection<Class<? extends FileOperation>> resultList, FileObject file) Gather available operations for the specified FileObject and put them into specified operationsList.final FileOperationAbstractFileOperationProvider.getOperation(FileObject file, Class<? extends FileOperation> operationClass) FileOperationProvider.getOperation(FileObject file, Class<? extends FileOperation> operationClass) Gets implementation for a given FileObject and FileOperation interface.protected abstract FileOperationAbstractFileOperationProvider.instantiateOperation(FileObject file, Class<? extends FileOperation> operationClass) Gets operation instance for specified FileOperation subclass.Constructors in org.apache.commons.vfs2.operations with parameters of type FileObjectModifierConstructorDescriptionConstructs a new instance for subclasses.Constructs a new instance. -
Uses of FileObject in org.apache.commons.vfs2.operations.vcs
Methods in org.apache.commons.vfs2.operations.vcs with parameters of type FileObjectModifier and TypeMethodDescriptionvoidVcsCheckout.setTargetDirectory(FileObject targetDir) Sets directory under which retrieved files should be placed. -
Uses of FileObject in org.apache.commons.vfs2.provider
Classes in org.apache.commons.vfs2.provider that implement FileObjectModifier and TypeClassDescriptionclassAbstractFileObject<AFS extends AbstractFileSystem>A partial file object implementation.classDelegateFileObject<AFS extends AbstractFileSystem>A file backed by another file.Methods in org.apache.commons.vfs2.provider that return FileObjectModifier and TypeMethodDescriptionprotected abstract FileObjectAbstractFileSystem.createFile(AbstractFileName name) Creates a file object.AbstractFileProvider.createFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.AbstractLayeredFileProvider.createFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.FileProvider.createFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.protected FileObjectAbstractFileSystem.decorateFileObject(FileObject file) Decorates the given file object.protected FileObject[]AbstractFileObject.doListChildrenResolved()Lists the children of this file.AbstractLayeredFileProvider.findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.protected FileObjectAbstractOriginatingFileProvider.findFile(FileName fileName, FileSystemOptions fileSystemOptions) Locates a file from its parsed URI.AbstractOriginatingFileProvider.findFile(FileObject baseFileObject, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.CompositeFileProvider.findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.FileProvider.findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.AbstractFileObject.findFiles(FileSelector selector) Finds the set of matching descendants of this file, in depthwise order.LocalFileProvider.findLocalFile(File file) Converts from java.io.File to FileObject.LocalFileProvider.findLocalFile(String name) Finds a local file, from its local name.Returns a child of this file.AbstractFileObject.getChildren()Returns the children of the file.DelegateFileObject.getDelegateFile()Gets access to the delegated file.DefaultFileContent.getFile()Returns the file that this is the content of.protected FileObjectAbstractFileSystem.getFileFromCache(FileName name) Gets a cached file.AbstractFileObject.getParent()Returns the parent of the file.AbstractFileSystem.getParentLayer()Gets the parent layer if this is a layered file system.AbstractFileSystem.getRoot()Gets the root file of this file system.AbstractFileObject.resolveFile(String path) Finds a file, relative to this file.AbstractFileObject.resolveFile(String name, NameScope scope) Returns a child by name.AbstractFileSystem.resolveFile(String nameStr) Finds a file in this file system.AbstractFileSystem.resolveFile(FileName name) Finds a file in this file system.VfsComponentContext.resolveFile(String name, FileSystemOptions fileSystemOptions) Resolves a file by name.VfsComponentContext.resolveFile(FileObject baseFile, String name, FileSystemOptions fileSystemOptions) Resolves a file by name.VfsComponentContext.toFileObject(File file) Returns aFileObjectfor a local file.Methods in org.apache.commons.vfs2.provider that return types with arguments of type FileObjectModifier and TypeMethodDescriptionAbstractFileObject.iterator()Returns an iterator over a set of all FileObject in this file object.AbstractFileObject.listFiles(FileSelector selector) Lists the set of matching descendants of this file, in depthwise order.Methods in org.apache.commons.vfs2.provider with parameters of type FileObjectModifier and TypeMethodDescriptionvoidAbstractFileSystem.addJunction(String junctionPoint, FileObject targetFile) Adds a junction to this file system.voidAbstractFileSystem.addListener(FileObject file, FileListener listener) Adds a listener on a file in this file system.booleanAbstractFileObject.canRenameTo(FileObject newfile) Queries the object if a simple rename to the file name ofnewfileis possible.intAbstractFileObject.compareTo(FileObject file) Compares two FileObjects (ignores case).voidAbstractFileObject.copyFrom(FileObject file, FileSelector selector) Copies another file to this file.AbstractFileProvider.createFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.AbstractLayeredFileProvider.createFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.FileProvider.createFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.protected FileObjectAbstractFileSystem.decorateFileObject(FileObject file) Decorates the given file object.protected abstract FileSystemAbstractLayeredFileProvider.doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.protected booleanAbstractFileObject.doIsSameFile(FileObject destFile) Checks if this fileObject is the same file asdestFilejust with a different name.protected voidAbstractFileObject.doRename(FileObject newFile) Renames the file.protected voidDelegateFileObject.doRename(FileObject newFile) Renames the file.protected FileAbstractFileSystem.doReplicateFile(FileObject file, FileSelector selector) Creates a temporary local copy of a file and its descendants.AbstractLayeredFileProvider.findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.AbstractOriginatingFileProvider.findFile(FileObject baseFileObject, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.CompositeFileProvider.findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.FileProvider.findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.voidAbstractFileSystem.fireFileChanged(FileObject file) Fires a file changed event.voidAbstractFileSystem.fireFileCreated(FileObject file) Fires a file create event.voidAbstractFileSystem.fireFileDeleted(FileObject file) Fires a file delete event.protected booleanAbstractFileObject.isSameFile(FileObject destFile) Checks if this fileObject is the same file asdestFilejust with a different name.voidAbstractFileObject.moveTo(FileObject destFile) Moves (rename) the file to another one.protected voidAbstractFileSystem.putFileToCache(FileObject file) Adds a file object to the cache.voidAbstractFileSystem.removeListener(FileObject file, FileListener listener) Removes a listener from a file in this file system.AbstractFileSystem.replicateFile(FileObject file, FileSelector selector) Creates a temporary local copy of a file and its descendants.FileReplicator.replicateFile(FileObject srcFile, FileSelector selector) Creates a local copy of the file, and all its descendants.VfsComponentContext.resolveFile(FileObject baseFile, String name, FileSystemOptions fileSystemOptions) Resolves a file by name.voidDelegateFileObject.setFile(FileObject fileObject) Attaches or detaches the target file.longDefaultFileContent.write(FileObject file) Writes this content to another FileObject.Method parameters in org.apache.commons.vfs2.provider with type arguments of type FileObjectModifier and TypeMethodDescriptionvoidAbstractFileObject.findFiles(FileSelector selector, boolean depthwise, List<FileObject> selected) Traverses the descendants of this file, and builds a list of selected files.Constructors in org.apache.commons.vfs2.provider with parameters of type FileObjectModifierConstructorDescriptionprotectedAbstractFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance.DelegateFileObject(AbstractFileName fileName, AFS fileSystem, FileObject fileObject) Constructs a new instance. -
Uses of FileObject in org.apache.commons.vfs2.provider.bzip2
Classes in org.apache.commons.vfs2.provider.bzip2 that implement FileObjectMethods in org.apache.commons.vfs2.provider.bzip2 that return FileObjectModifier and TypeMethodDescriptionprotected FileObjectBzip2FileSystem.createFile(AbstractFileName name) Methods in org.apache.commons.vfs2.provider.bzip2 with parameters of type FileObjectModifier and TypeMethodDescriptionprotected FileSystemBzip2FileProvider.createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs2.provider.bzip2 with parameters of type FileObjectModifierConstructorDescriptionprotectedBzip2FileObject(AbstractFileName fileName, FileObject container, Bzip2FileSystem fileSystem) Constructs a new instance.protectedBzip2FileObject(AbstractFileName name, FileObject container, CompressedFileFileSystem fs) Deprecated.protectedBzip2FileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance. -
Uses of FileObject in org.apache.commons.vfs2.provider.compressed
Classes in org.apache.commons.vfs2.provider.compressed that implement FileObjectModifier and TypeClassDescriptionclassCompressedFileFileObject<FS extends CompressedFileFileSystem>A compressed file.Methods in org.apache.commons.vfs2.provider.compressed that return FileObjectModifier and TypeMethodDescriptionprotected abstract FileObjectCompressedFileFileSystem.createFile(AbstractFileName name) Creates a file object.protected FileObjectCompressedFileFileObject.getContainer()Gets the container.Methods in org.apache.commons.vfs2.provider.compressed with parameters of type FileObjectModifier and TypeMethodDescriptionprotected abstract FileSystemCompressedFileFileProvider.createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Create a FileSystem.protected FileSystemCompressedFileFileProvider.doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.Constructors in org.apache.commons.vfs2.provider.compressed with parameters of type FileObjectModifierConstructorDescriptionprotectedCompressedFileFileObject(AbstractFileName fileName, FileObject container, FS fileSystem) Constructs a new instance.protectedCompressedFileFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance. -
Uses of FileObject in org.apache.commons.vfs2.provider.ftp
Classes in org.apache.commons.vfs2.provider.ftp that implement FileObjectMethods in org.apache.commons.vfs2.provider.ftp that return FileObjectModifier and TypeMethodDescriptionprotected FileObjectFtpFileSystem.createFile(AbstractFileName name) Creates a file object.protected FileObject[]FtpFileObject.doListChildrenResolved()FtpFileObject.getChildren()Returns the file's list of children.Methods in org.apache.commons.vfs2.provider.ftp with parameters of type FileObjectModifier and TypeMethodDescriptionprotected voidFtpFileObject.doRename(FileObject newFile) Renames the file -
Uses of FileObject in org.apache.commons.vfs2.provider.gzip
Classes in org.apache.commons.vfs2.provider.gzip that implement FileObjectMethods in org.apache.commons.vfs2.provider.gzip that return FileObjectModifier and TypeMethodDescriptionprotected FileObjectGzipFileSystem.createFile(AbstractFileName name) Methods in org.apache.commons.vfs2.provider.gzip with parameters of type FileObjectModifier and TypeMethodDescriptionprotected FileSystemGzipFileProvider.createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs2.provider.gzip with parameters of type FileObjectModifierConstructorDescriptionprotectedGzipFileObject(AbstractFileName name, FileObject container, CompressedFileFileSystem fs) Deprecated.protectedGzipFileObject(AbstractFileName fileName, FileObject container, GzipFileSystem fileSystem) Constructs a new instance.protectedGzipFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance. -
Uses of FileObject in org.apache.commons.vfs2.provider.http
Classes in org.apache.commons.vfs2.provider.http that implement FileObjectMethods in org.apache.commons.vfs2.provider.http that return FileObjectModifier and TypeMethodDescriptionprotected FileObjectHttpFileSystem.createFile(AbstractFileName name) Deprecated.Creates a file object. -
Uses of FileObject in org.apache.commons.vfs2.provider.http4
Classes in org.apache.commons.vfs2.provider.http4 that implement FileObjectMethods in org.apache.commons.vfs2.provider.http4 that return FileObjectModifier and TypeMethodDescriptionprotected FileObjectHttp4FileSystem.createFile(AbstractFileName name) Deprecated. -
Uses of FileObject in org.apache.commons.vfs2.provider.http5
Classes in org.apache.commons.vfs2.provider.http5 that implement FileObjectModifier and TypeClassDescriptionclassHttp5FileObject<FS extends Http5FileSystem>A file object backed by Apache HttpComponents HttpClient v5.Methods in org.apache.commons.vfs2.provider.http5 that return FileObjectModifier and TypeMethodDescriptionprotected FileObjectHttp5FileSystem.createFile(AbstractFileName name) -
Uses of FileObject in org.apache.commons.vfs2.provider.jar
Classes in org.apache.commons.vfs2.provider.jar that implement FileObjectMethods in org.apache.commons.vfs2.provider.jar with parameters of type FileObjectModifier and TypeMethodDescriptionprotected FileSystemJarFileProvider.doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.Constructors in org.apache.commons.vfs2.provider.jar with parameters of type FileObjectModifierConstructorDescriptionprotectedJarFileSystem(AbstractFileName rootFileName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance. -
Uses of FileObject in org.apache.commons.vfs2.provider.local
Classes in org.apache.commons.vfs2.provider.local that implement FileObjectModifier and TypeClassDescriptionclassA file object implementation which uses direct file access.Methods in org.apache.commons.vfs2.provider.local that return FileObjectModifier and TypeMethodDescriptionprotected FileObjectLocalFileSystem.createFile(AbstractFileName name) Creates a file object.DefaultLocalFileProvider.findLocalFile(File file) Finds a local file.DefaultLocalFileProvider.findLocalFile(String name) Finds a local file, from its local name.Methods in org.apache.commons.vfs2.provider.local with parameters of type FileObjectModifier and TypeMethodDescriptionprotected booleanLocalFile.doIsSameFile(FileObject destFile) protected voidLocalFile.doRename(FileObject newFile) rename this fileprotected FileLocalFileSystem.doReplicateFile(FileObject fileObject, FileSelector selector) Creates a temporary local copy of a file and its descendants. -
Uses of FileObject in org.apache.commons.vfs2.provider.ram
Classes in org.apache.commons.vfs2.provider.ram that implement FileObjectModifier and TypeClassDescriptionclassA RAM File contains a single RAM FileData instance, it provides methods to access the data by implementing FileObject interface.Methods in org.apache.commons.vfs2.provider.ram that return FileObjectModifier and TypeMethodDescriptionprotected FileObjectRamFileSystem.createFile(AbstractFileName name) Methods in org.apache.commons.vfs2.provider.ram with parameters of type FileObject -
Uses of FileObject in org.apache.commons.vfs2.provider.res
Methods in org.apache.commons.vfs2.provider.res that return FileObjectModifier and TypeMethodDescriptionResourceFileProvider.findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.Methods in org.apache.commons.vfs2.provider.res with parameters of type FileObjectModifier and TypeMethodDescriptionResourceFileProvider.findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI. -
Uses of FileObject in org.apache.commons.vfs2.provider.sftp
Classes in org.apache.commons.vfs2.provider.sftp that implement FileObjectMethods in org.apache.commons.vfs2.provider.sftp that return FileObjectModifier and TypeMethodDescriptionprotected FileObjectSftpFileSystem.createFile(AbstractFileName name) Creates a file object.protected FileObject[]SftpFileObject.doListChildrenResolved()Lists the children of this file.Methods in org.apache.commons.vfs2.provider.sftp with parameters of type FileObjectModifier and TypeMethodDescriptionprotected voidSftpFileObject.doRename(FileObject newFile) Renames the file. -
Uses of FileObject in org.apache.commons.vfs2.provider.tar
Classes in org.apache.commons.vfs2.provider.tar that implement FileObjectMethods in org.apache.commons.vfs2.provider.tar that return FileObjectModifier and TypeMethodDescriptionprotected FileObjectTarFileSystem.createFile(AbstractFileName name) Creates a file object.protected FileObjectTarFileSystem.getFileFromCache(FileName name) Returns a cached file.Methods in org.apache.commons.vfs2.provider.tar with parameters of type FileObjectModifier and TypeMethodDescriptionprotected FileSystemTarFileProvider.doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.protected voidTarFileSystem.putFileToCache(FileObject file) Adds a file object to the cache.Constructors in org.apache.commons.vfs2.provider.tar with parameters of type FileObjectModifierConstructorDescriptionprotectedTarFileSystem(AbstractFileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance. -
Uses of FileObject in org.apache.commons.vfs2.provider.temp
Methods in org.apache.commons.vfs2.provider.temp that return FileObjectModifier and TypeMethodDescriptionTemporaryFileProvider.findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.Methods in org.apache.commons.vfs2.provider.temp with parameters of type FileObjectModifier and TypeMethodDescriptionTemporaryFileProvider.findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI. -
Uses of FileObject in org.apache.commons.vfs2.provider.url
Classes in org.apache.commons.vfs2.provider.url that implement FileObjectMethods in org.apache.commons.vfs2.provider.url that return FileObjectModifier and TypeMethodDescriptionprotected FileObjectUrlFileSystem.createFile(AbstractFileName name) Creates a file object.UrlFileProvider.findFile(FileObject baseFile, String fileUri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.Methods in org.apache.commons.vfs2.provider.url with parameters of type FileObjectModifier and TypeMethodDescriptionUrlFileProvider.findFile(FileObject baseFile, String fileUri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI. -
Uses of FileObject in org.apache.commons.vfs2.provider.zip
Classes in org.apache.commons.vfs2.provider.zip that implement FileObjectMethods in org.apache.commons.vfs2.provider.zip that return FileObjectModifier and TypeMethodDescriptionprotected FileObjectZipFileSystem.createFile(AbstractFileName name) Creates a file object.protected FileObjectZipFileSystem.getFileFromCache(FileName name) Gets a cached file.Methods in org.apache.commons.vfs2.provider.zip with parameters of type FileObjectModifier and TypeMethodDescriptionprotected FileSystemZipFileProvider.doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.protected voidZipFileSystem.putFileToCache(FileObject file) Adds a file object to the cache.Constructors in org.apache.commons.vfs2.provider.zip with parameters of type FileObjectModifierConstructorDescriptionZipFileSystem(AbstractFileName rootFileName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance. -
Uses of FileObject in org.apache.commons.vfs2.util
Methods in org.apache.commons.vfs2.util with parameters of type FileObjectModifier and TypeMethodDescriptionstatic booleanFileObjectUtils.exists(FileObject fileObject) Null-safe call toexists().static AbstractFileObjectFileObjectUtils.getAbstractFileObject(FileObject fileObject) Gets access to the base object even if decorated.static byte[]FileObjectUtils.getContentAsByteArray(FileObject file) Gets the content of a file object, as a byte array.static StringFileObjectUtils.getContentAsString(FileObject file, String charset) Returns the content of a file as a String.static StringFileObjectUtils.getContentAsString(FileObject file, Charset charset) Gets the content of a file as a String.static voidWeakRefFileListener.installListener(FileObject file, FileListener listener) Install thelistenerat the givenfile.static booleanFileObjectUtils.isInstanceOf(FileObject fileObject, Class<?> wantedClass) Checks if the given FileObject is instance of given class argument.static PropertiesFileObjectUtils.readProperties(FileObject fileObject) Reads the given file into a newProperties.static PropertiesFileObjectUtils.readProperties(FileObject fileObject, Properties properties) Reads the given file into a new givenProperties.static voidFileObjectUtils.writeContent(FileObject file, OutputStream output) Writes the content of a file to an OutputStream.static voidFileObjectUtils.writeContent(FileObject srcFile, FileObject destFile) Writes the content from a source file to a destination file.Constructors in org.apache.commons.vfs2.util with parameters of type FileObjectModifierConstructorDescriptionprotectedWeakRefFileListener(FileObject file, FileListener listener) Constructs a new instance.
FileChangeEvent.getFileObject().