public class FileFilterSelector extends FileDepthSelector
FileSelector that selects all children of the given fileObject.
This is to mimic the FileFilter interface.
| Constructor and Description |
|---|
FileFilterSelector() |
FileFilterSelector(FileFilter fileFilter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(FileSelectInfo fileInfo)
Determines whether the file should be selected.
|
boolean |
includeFile(FileSelectInfo fileInfo)
Determines if a file or folder should be selected.
|
traverseDescendentspublic FileFilterSelector()
public FileFilterSelector(FileFilter fileFilter)
public boolean includeFile(FileSelectInfo fileInfo)
includeFile in interface FileSelectorincludeFile in class FileDepthSelectorfileInfo - The file selection information.public boolean accept(FileSelectInfo fileInfo)
fileInfo - The file selection information.Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.