public interface FileVisitor
A FileVisitor
is used to visit each of the files in a FileTree
.
Modifier and Type | Method and Description |
---|---|
void |
visitDir(FileVisitDetails dirDetails)
Visits a directory.
|
void |
visitFile(FileVisitDetails fileDetails)
Visits a file.
|
void visitDir(FileVisitDetails dirDetails)
dirDetails
- Meta-info about the directory.void visitFile(FileVisitDetails fileDetails)
fileDetails
- Meta-info about the file.