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 TypeClassDescriptionclassAFileSelectorthat selects everything.classAFileSelectorthat selects all files in a particular depth range.classAFileSelectorthat selects all children of the given fileObject.
This is to mimic theFileFilterinterfaceclassAFileSelectorthat selects files of a particular type.Fields in org.apache.commons.vfs declared as FileSelectorModifier and TypeFieldDescriptionstatic final FileSelectorSelectors.EXCLUDE_SELFAFileSelectorthat selects all the descendents 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 descendents.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.vfs with parameters of type FileSelectorModifier and TypeMethodDescriptionvoidFileObject.copyFrom(FileObject srcFile, FileSelector selector) Copies another file, and all its descendents, to this file.intFileObject.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.voidFileObject.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 TypeMethodDescriptionvoidOnCallRefreshFileObject.copyFrom(FileObject srcFile, FileSelector selector) intOnCallRefreshFileObject.delete(FileSelector selector) OnCallRefreshFileObject.findFiles(FileSelector selector) voidOnCallRefreshFileObject.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 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 selected) SynchronizedFileObject.findFiles(FileSelector selector) voidSynchronizedFileObject.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 TypeMethodDescriptionvoidAbstractFileObject.copyFrom(FileObject file, FileSelector selector) Copies another file to this file.intAbstractFileObject.delete(FileSelector selector) Deletes this file, and all children.protected FileAbstractFileSystem.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.voidAbstractFileObject.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 FileLocalFileSystem.doReplicateFile(FileObject fileObject, FileSelector selector) Creates a temporary local copy of a file and its descendents.