Uses of Interface
org.apache.commons.vfs.FileSelector
-
Packages that use FileSelector Package Description org.apache.commons.vfs The public VFS API.org.apache.commons.vfs.cache org.apache.commons.vfs.impl The standard VFS implementation.org.apache.commons.vfs.provider The File Provider API, and utility classes.org.apache.commons.vfs.provider.local The Local File Provider. -
-
Uses of FileSelector in org.apache.commons.vfs
Classes in org.apache.commons.vfs 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
FileFilterSelector
AFileSelector
that selects all children of the given fileObject.
This is to mimic theFileFilter
interfaceclass
FileTypeSelector
AFileSelector
that selects files of a particular type.Fields in org.apache.commons.vfs declared as FileSelector Modifier and Type Field Description static FileSelector
Selectors. EXCLUDE_SELF
AFileSelector
that selects all the descendents 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 descendents.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.vfs with parameters of type FileSelector Modifier and Type Method Description void
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[]
FileObject. findFiles(FileSelector selector)
Finds the set of matching descendents of this file, in depthwise order.void
FileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List selected)
Finds the set of matching descendents of this file.java.io.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 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 selected)
-
Uses of FileSelector in org.apache.commons.vfs.impl
Methods in org.apache.commons.vfs.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 selected)
FileObject[]
SynchronizedFileObject. findFiles(FileSelector selector)
void
SynchronizedFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List selected)
java.io.File
DefaultFileReplicator. replicateFile(FileObject srcFile, FileSelector selector)
Creates a local copy of the file, and all its descendents.java.io.File
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 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.protected java.io.File
AbstractFileSystem. doReplicateFile(FileObject file, FileSelector selector)
Creates a temporary local copy of a file and its descendents.FileObject[]
AbstractFileObject. findFiles(FileSelector selector)
Finds the set of matching descendents of this file, in depthwise order.void
AbstractFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List selected)
Traverses the descendents of this file, and builds a list of selected files.java.io.File
AbstractFileSystem. replicateFile(FileObject file, FileSelector selector)
Creates a temporary local copy of a file and its descendents.java.io.File
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 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 descendents.
-