Package org.apache.commons.vfs
Class FileFilterSelector
java.lang.Object
org.apache.commons.vfs.FileDepthSelector
org.apache.commons.vfs.FileFilterSelector
- All Implemented Interfaces:
FileSelector
A
This is to mimic the
FileSelector
that selects all children of the given fileObject.This is to mimic the
FileFilter
interface- Author:
- Mario Ivankovits
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(FileSelectInfo fileInfo) boolean
includeFile
(FileSelectInfo fileInfo) Determines if a file or folder should be selected.Methods inherited from class org.apache.commons.vfs.FileDepthSelector
traverseDescendents
-
Constructor Details
-
FileFilterSelector
public FileFilterSelector() -
FileFilterSelector
-
-
Method Details
-
includeFile
Determines if a file or folder should be selected.- Specified by:
includeFile
in interfaceFileSelector
- Overrides:
includeFile
in classFileDepthSelector
- Parameters:
fileInfo
- the file or folder to select.- Returns:
- true if the file should be selected.
-
accept
-