Uses of Interface
org.apache.commons.vfs.FileSelector
Packages that use FileSelector
Package
Description
The public VFS API.
The standard VFS implementation.
The File Provider API, and utility classes.
The Local File Provider.
-
Uses of FileSelector in org.apache.commons.vfs
Classes in org.apache.commons.vfs that implement FileSelectorModifier and TypeClassDescriptionclass
AFileSelector
that selects everything.class
AFileSelector
that selects all files in a particular depth range.class
AFileSelector
that selects all children of the given fileObject.
This is to mimic theFileFilter
interfaceclass
AFileSelector
that selects files of a particular type.Fields in org.apache.commons.vfs declared as FileSelectorModifier and TypeFieldDescriptionstatic final FileSelector
Selectors.EXCLUDE_SELF
AFileSelector
that selects all the descendents 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 descendents.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.vfs with parameters of type FileSelectorModifier and TypeMethodDescriptionvoid
FileObject.copyFrom
(FileObject srcFile, FileSelector selector) Copies another file, and all its descendents, to this file.int
FileObject.delete
(FileSelector selector) Deletes all descendents of this file that match a selector.FileObject.findFiles
(FileSelector selector) Finds the set of matching descendents of this file, in depthwise order.void
FileObject.findFiles
(FileSelector selector, boolean depthwise, List selected) Finds the set of matching descendents of this file.FileSystem.replicateFile
(FileObject file, FileSelector selector) Creates a temporary local copy of a file and its descendents. -
Uses of FileSelector in org.apache.commons.vfs.cache
Methods in org.apache.commons.vfs.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 selected) -
Uses of FileSelector in org.apache.commons.vfs.impl
Methods in org.apache.commons.vfs.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 selected) SynchronizedFileObject.findFiles
(FileSelector selector) void
SynchronizedFileObject.findFiles
(FileSelector selector, boolean depthwise, List selected) DefaultFileReplicator.replicateFile
(FileObject srcFile, FileSelector selector) Creates a local copy of the file, and all its descendents.PrivilegedFileReplicator.replicateFile
(FileObject srcFile, FileSelector selector) Creates a local copy of the file, and all its descendents. -
Uses of FileSelector in org.apache.commons.vfs.provider
Methods in org.apache.commons.vfs.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.protected File
AbstractFileSystem.doReplicateFile
(FileObject file, FileSelector selector) Creates a temporary local copy of a file and its descendents.AbstractFileObject.findFiles
(FileSelector selector) Finds the set of matching descendents of this file, in depthwise order.void
AbstractFileObject.findFiles
(FileSelector selector, boolean depthwise, List selected) Traverses the descendents of this file, and builds a list of selected files.AbstractFileSystem.replicateFile
(FileObject file, FileSelector selector) Creates a temporary local copy of a file and its descendents.FileReplicator.replicateFile
(FileObject srcFile, FileSelector selector) Creates a local copy of the file, and all its descendents. -
Uses of FileSelector in org.apache.commons.vfs.provider.local
Methods in org.apache.commons.vfs.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 descendents.