Uses of Interface
org.apache.commons.vfs2.FileSelector
-
Packages that use FileSelector Package Description org.apache.commons.vfs2 The public VFS API.org.apache.commons.vfs2.cache VFS File cachingorg.apache.commons.vfs2.impl The standard VFS implementation.org.apache.commons.vfs2.provider The File Provider API, and utility classes.org.apache.commons.vfs2.provider.local The Local File Provider. -
-
Uses of FileSelector in org.apache.commons.vfs2
Classes in org.apache.commons.vfs2 that implement FileSelector Modifier and Type Class Description class
AllFileSelector
AFileSelector
that selects everything.class
FileDepthSelector
AFileSelector
that selects all files in a particular depth range.class
FileExtensionSelector
AFileSelector
that selects based on file extensions.class
FileFilterSelector
AFileSelector
that selects all children of the given fileObject.class
FileTypeSelector
AFileSelector
that selects files of a particular type.class
InvertIncludeFileSelector
Inverts file inclusion of a delegate FileSelector, folder traversal is delegated.class
PatternFileSelector
AFileSelector
that selects based on regular expressions matched against base filename.Fields in org.apache.commons.vfs2 declared as FileSelector Modifier and Type Field Description static FileSelector
Selectors. EXCLUDE_SELF
AFileSelector
that selects all the descendants of the base folder, but does not select the base folder itself.static FileSelector
Selectors. SELECT_ALL
AFileSelector
that selects the base file/folder, plus all its descendants.static FileSelector
Selectors. SELECT_CHILDREN
AFileSelector
that selects only the direct children of the base folder.static FileSelector
Selectors. SELECT_FILES
AFileSelector
that only files (not folders).static FileSelector
Selectors. SELECT_FOLDERS
AFileSelector
that only folders (not files).static FileSelector
Selectors. SELECT_SELF
AFileSelector
that selects only the base file/folder.static 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 FileSelector Modifier and Type Method Description void
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[]
FileObject. findFiles(FileSelector selector)
Finds the set of matching descendants of this file, in depthwise order.void
FileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List<FileObject> selected)
Finds the set of matching descendants of this file.java.io.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 FileSelector Constructor Description InvertIncludeFileSelector(FileSelector delegateFileSelector)
-
Uses of FileSelector in org.apache.commons.vfs2.cache
Methods in org.apache.commons.vfs2.cache with parameters of type FileSelector Modifier and Type Method Description void
OnCallRefreshFileObject. copyFrom(FileObject srcFile, FileSelector selector)
int
OnCallRefreshFileObject. delete(FileSelector selector)
FileObject[]
OnCallRefreshFileObject. findFiles(FileSelector selector)
void
OnCallRefreshFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List<FileObject> selected)
-
Uses of FileSelector in org.apache.commons.vfs2.impl
Methods in org.apache.commons.vfs2.impl with parameters of type FileSelector Modifier and Type Method Description void
DecoratedFileObject. copyFrom(FileObject srcFile, FileSelector selector)
void
SynchronizedFileObject. copyFrom(FileObject srcFile, FileSelector selector)
int
DecoratedFileObject. delete(FileSelector selector)
int
SynchronizedFileObject. delete(FileSelector selector)
FileObject[]
DecoratedFileObject. findFiles(FileSelector selector)
void
DecoratedFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List<FileObject> selected)
FileObject[]
SynchronizedFileObject. findFiles(FileSelector selector)
void
SynchronizedFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List<FileObject> selected)
java.io.File
DefaultFileReplicator. replicateFile(FileObject srcFile, FileSelector selector)
Creates a local copy of the file, and all its descendants.java.io.File
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 FileSelector Modifier and Type Method Description void
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 java.io.File
AbstractFileSystem. doReplicateFile(FileObject file, FileSelector selector)
Creates a temporary local copy of a file and its descendants.FileObject[]
AbstractFileObject. findFiles(FileSelector selector)
Finds the set of matching descendants of this file, in depthwise order.void
AbstractFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List<FileObject> selected)
Traverses the descendants of this file, and builds a list of selected files.java.util.List<FileObject>
AbstractFileObject. listFiles(FileSelector selector)
Lists the set of matching descendants of this file, in depthwise order.java.io.File
AbstractFileSystem. replicateFile(FileObject file, FileSelector selector)
Creates a temporary local copy of a file and its descendants.java.io.File
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 FileSelector Modifier and Type Method Description protected java.io.File
LocalFileSystem. doReplicateFile(FileObject fileObject, FileSelector selector)
Creates a temporary local copy of a file and its descendants.
-