|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.vfs.FileDepthSelector
public class FileDepthSelector
A FileSelector that selects all files in a particular depth range.
| Constructor Summary | |
|---|---|
FileDepthSelector(int minDepth,
int maxDepth)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileDepthSelector(int minDepth,
int maxDepth)
| Method Detail |
|---|
public boolean includeFile(FileSelectInfo fileInfo)
includeFile in interface FileSelectorfileInfo - the file or folder to select.
public boolean traverseDescendents(FileSelectInfo fileInfo)
traverseDescendents in interface FileSelectorfileInfo - the file or folder to select.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||