public class TreeVisitor extends Object implements FileVisitor<Path>
Constructor and Description |
---|
TreeVisitor() |
Modifier and Type | Method and Description |
---|---|
List<Path> |
getPaths() |
FileVisitResult |
postVisitDirectory(Path dir,
IOException exc) |
FileVisitResult |
preVisitDirectory(Path dir,
BasicFileAttributes attrs) |
void |
setPaths(List<Path> paths) |
FileVisitResult |
visitFile(Path file,
BasicFileAttributes attrs) |
FileVisitResult |
visitFileFailed(Path file,
IOException exc) |
public TreeVisitor()
public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs)
preVisitDirectory
in interface FileVisitor<Path>
public FileVisitResult visitFile(Path file, BasicFileAttributes attrs)
visitFile
in interface FileVisitor<Path>
public FileVisitResult postVisitDirectory(Path dir, IOException exc)
postVisitDirectory
in interface FileVisitor<Path>
public FileVisitResult visitFileFailed(Path file, IOException exc)
visitFileFailed
in interface FileVisitor<Path>
Copyright © 2016. All rights reserved.