public interface FileSelector
Selectors
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.
|
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.Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.