public class FileDepthSelector extends Object implements FileSelector
FileSelector that selects all files in a particular depth range.| Constructor and Description |
|---|
FileDepthSelector(int minDepth,
int maxDepth) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
includeFile(FileSelectInfo fileInfo)
Determines if a file or folder should be selected.
|
boolean |
traverseDescendents(FileSelectInfo fileInfo)
Determines whether a folder should be traversed.
|
public boolean includeFile(FileSelectInfo fileInfo)
includeFile in interface FileSelectorfileInfo - The file selection informationpublic boolean traverseDescendents(FileSelectInfo fileInfo)
traverseDescendents in interface FileSelectorfileInfo - The file selection informationCopyright © 2002–2017 WSO2. All rights reserved.