|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileSelector
This interface is used to select files when traversing a file hierarchy.
Selectors| Method Summary | |
|---|---|
boolean |
includeFile(FileSelectInfo fileInfo)
Determines if a file or folder should be selected. |
boolean |
traverseDescendents(FileSelectInfo fileInfo)
Determines whether a folder should be traversed. |
| Method Detail |
|---|
boolean includeFile(FileSelectInfo fileInfo)
throws Exception
fileInfo - the file or folder to select.
Exception - if an error occurs.
boolean traverseDescendents(FileSelectInfo fileInfo)
throws Exception
includeFile(org.apache.commons.vfs2.FileSelectInfo) is called for each of the children of
the folder, and each of the child folders is recursively traversed.
This method is called on a folder before includeFile(org.apache.commons.vfs2.FileSelectInfo)
is called.
fileInfo - the file or folder to select.
Exception - if an error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||