public interface FileConsumer
File
objects from a
FilesystemTraverser
.FilesystemTraverser
Modifier and Type | Method and Description |
---|---|
boolean |
accept(File file)
Accept a file from a depth-first traversal.
|
boolean |
accessError(File file)
Handle a file access error from a depth-first traversal.
|
boolean accept(File file)
file
- The file.true
if the traversal should continue, and
false
if it should be aborted.boolean accessError(File file)
file
- The file that caused the access error.true
if the traversal should continue, and
false
if it should be aborted.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses