public interface FileVisitor
A FileVisitor
is used to visit each of the files in a FileTree
.
修飾子とタイプ | メソッドと説明 |
---|---|
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.