|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.vfs2.FileDepthSelector
org.apache.commons.vfs2.FileFilterSelector
public class FileFilterSelector
A FileSelector
that selects all children of the given fileObject.
This is to mimic the FileFilter
interface
Constructor Summary | |
---|---|
FileFilterSelector()
|
|
FileFilterSelector(FileFilter fileFilter)
|
Method Summary | |
---|---|
boolean |
accept(FileSelectInfo fileInfo)
Determines whether the file should be selected. |
boolean |
includeFile(FileSelectInfo fileInfo)
Determines if a file or folder should be selected. |
Methods inherited from class org.apache.commons.vfs2.FileDepthSelector |
---|
traverseDescendents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileFilterSelector()
public FileFilterSelector(FileFilter fileFilter)
Method Detail |
---|
public boolean includeFile(FileSelectInfo fileInfo)
includeFile
in interface FileSelector
includeFile
in class FileDepthSelector
fileInfo
- The file selection information.
public boolean accept(FileSelectInfo fileInfo)
fileInfo
- The file selection information.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |