Uses of Interface
org.apache.commons.vfs2.FileSelector
Packages that use FileSelector
Package
Description
The public VFS API.
VFS File caching.
The standard VFS implementation.
The File Provider API, and utility classes.
The Local File Provider.
-
Uses of FileSelector in org.apache.commons.vfs2
Classes in org.apache.commons.vfs2 that implement FileSelectorModifier and TypeClassDescriptionclassAFileSelectorthat selects everything.classAFileSelectorthat selects all files in a particular depth range.classAFileSelectorthat selects based on file extensions.classAFileSelectorthat selects all children of the given fileObject.classAFileSelectorthat selects files of a particular type.classInverts file inclusion of a delegate FileSelector, folder traversal is delegated.classAFileSelectorthat selects based on regular expressions.Fields in org.apache.commons.vfs2 declared as FileSelectorModifier and TypeFieldDescriptionstatic final FileSelectorSelectors.EXCLUDE_SELFAFileSelectorthat selects all the descendants of the base folder, but does not select the base folder itself.static final FileSelectorSelectors.SELECT_ALLAFileSelectorthat selects the base file/folder, plus all its descendants.static final FileSelectorSelectors.SELECT_CHILDRENAFileSelectorthat selects only the direct children of the base folder.static final FileSelectorSelectors.SELECT_FILESAFileSelectorthat only files (not folders).static final FileSelectorSelectors.SELECT_FOLDERSAFileSelectorthat only folders (not files).static final FileSelectorSelectors.SELECT_SELFAFileSelectorthat selects only the base file/folder.static final FileSelectorSelectors.SELECT_SELF_AND_CHILDRENAFileSelectorthat selects the base file/folder and its direct children.Methods in org.apache.commons.vfs2 with parameters of type FileSelectorModifier and TypeMethodDescriptionvoidFileObject.copyFrom(FileObject srcFile, FileSelector selector) Copies another file, and all its descendants, to this file.intFileObject.delete(FileSelector selector) Deletes all descendants of this file that match a selector.FileObject.findFiles(FileSelector selector) Finds the set of matching descendants of this file, in depthwise order.voidFileObject.findFiles(FileSelector selector, boolean depthwise, List<FileObject> selected) Finds the set of matching descendants of this file.FileSystem.replicateFile(FileObject file, FileSelector selector) Creates a temporary local copy of a file and its descendants.Constructors in org.apache.commons.vfs2 with parameters of type FileSelectorModifierConstructorDescriptionInvertIncludeFileSelector(FileSelector delegateFileSelector) Constructs a new instance. -
Uses of FileSelector in org.apache.commons.vfs2.cache
Methods in org.apache.commons.vfs2.cache with parameters of type FileSelectorModifier and TypeMethodDescriptionvoidOnCallRefreshFileObject.copyFrom(FileObject srcFile, FileSelector selector) intOnCallRefreshFileObject.delete(FileSelector selector) OnCallRefreshFileObject.findFiles(FileSelector selector) voidOnCallRefreshFileObject.findFiles(FileSelector selector, boolean depthwise, List<FileObject> selected) -
Uses of FileSelector in org.apache.commons.vfs2.impl
Methods in org.apache.commons.vfs2.impl with parameters of type FileSelectorModifier and TypeMethodDescriptionvoidDecoratedFileObject.copyFrom(FileObject srcFile, FileSelector selector) voidSynchronizedFileObject.copyFrom(FileObject srcFile, FileSelector selector) intDecoratedFileObject.delete(FileSelector selector) intSynchronizedFileObject.delete(FileSelector selector) DecoratedFileObject.findFiles(FileSelector selector) voidDecoratedFileObject.findFiles(FileSelector selector, boolean depthwise, List<FileObject> selected) SynchronizedFileObject.findFiles(FileSelector selector) voidSynchronizedFileObject.findFiles(FileSelector selector, boolean depthwise, List<FileObject> selected) 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. -
Uses of FileSelector in org.apache.commons.vfs2.provider
Methods in org.apache.commons.vfs2.provider with parameters of type FileSelectorModifier and TypeMethodDescriptionvoidAbstractFileObject.copyFrom(FileObject file, FileSelector selector) Copies another file to this file.intAbstractFileObject.delete(FileSelector selector) Deletes this file, and all children matching theselector.protected FileAbstractFileSystem.doReplicateFile(FileObject file, FileSelector selector) Creates a temporary local copy of a file and its descendants.AbstractFileObject.findFiles(FileSelector selector) Finds the set of matching descendants of this file, in depthwise order.voidAbstractFileObject.findFiles(FileSelector selector, boolean depthwise, List<FileObject> selected) Traverses the descendants of this file, and builds a list of selected files.AbstractFileObject.listFiles(FileSelector selector) Lists the set of matching descendants of this file, in depthwise order.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. -
Uses of FileSelector in org.apache.commons.vfs2.provider.local
Methods in org.apache.commons.vfs2.provider.local with parameters of type FileSelectorModifier and TypeMethodDescriptionprotected FileLocalFileSystem.doReplicateFile(FileObject fileObject, FileSelector selector) Creates a temporary local copy of a file and its descendants.