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