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 TypeClassDescriptionclass
AFileSelector
that selects everything.class
AFileSelector
that selects all files in a particular depth range.class
AFileSelector
that selects based on file extensions.class
AFileSelector
that selects all children of the given fileObject.class
AFileSelector
that selects files of a particular type.class
Inverts file inclusion of a delegate FileSelector, folder traversal is delegated.class
AFileSelector
that selects based on regular expressions.Fields in org.apache.commons.vfs2 declared as FileSelectorModifier and TypeFieldDescriptionstatic final FileSelector
Selectors.EXCLUDE_SELF
AFileSelector
that selects all the descendants of the base folder, but does not select the base folder itself.static final FileSelector
Selectors.SELECT_ALL
AFileSelector
that selects the base file/folder, plus all its descendants.static final FileSelector
Selectors.SELECT_CHILDREN
AFileSelector
that selects only the direct children of the base folder.static final FileSelector
Selectors.SELECT_FILES
AFileSelector
that only files (not folders).static final FileSelector
Selectors.SELECT_FOLDERS
AFileSelector
that only folders (not files).static final FileSelector
Selectors.SELECT_SELF
AFileSelector
that selects only the base file/folder.static final FileSelector
Selectors.SELECT_SELF_AND_CHILDREN
AFileSelector
that selects the base file/folder and its direct children.Methods in org.apache.commons.vfs2 with parameters of type FileSelectorModifier and TypeMethodDescriptionvoid
FileObject.copyFrom
(FileObject srcFile, FileSelector selector) Copies another file, and all its descendants, to this file.int
FileObject.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.void
FileObject.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 TypeMethodDescriptionvoid
OnCallRefreshFileObject.copyFrom
(FileObject srcFile, FileSelector selector) int
OnCallRefreshFileObject.delete
(FileSelector selector) OnCallRefreshFileObject.findFiles
(FileSelector selector) void
OnCallRefreshFileObject.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 TypeMethodDescriptionvoid
DecoratedFileObject.copyFrom
(FileObject srcFile, FileSelector selector) void
SynchronizedFileObject.copyFrom
(FileObject srcFile, FileSelector selector) int
DecoratedFileObject.delete
(FileSelector selector) int
SynchronizedFileObject.delete
(FileSelector selector) DecoratedFileObject.findFiles
(FileSelector selector) void
DecoratedFileObject.findFiles
(FileSelector selector, boolean depthwise, List<FileObject> selected) SynchronizedFileObject.findFiles
(FileSelector selector) void
SynchronizedFileObject.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 TypeMethodDescriptionvoid
AbstractFileObject.copyFrom
(FileObject file, FileSelector selector) Copies another file to this file.int
AbstractFileObject.delete
(FileSelector selector) Deletes this file, and all children matching theselector
.protected File
AbstractFileSystem.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.void
AbstractFileObject.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 File
LocalFileSystem.doReplicateFile
(FileObject fileObject, FileSelector selector) Creates a temporary local copy of a file and its descendants.