public abstract class ForwardingFileVisitor<T> extends Object implements FileVisitor<T>
Modifier | Constructor and Description |
---|---|
protected |
ForwardingFileVisitor(FileVisitor<T> visitor) |
Modifier and Type | Method and Description |
---|---|
FileVisitResult |
postVisitDirectory(T dir,
IOException exc) |
FileVisitResult |
preVisitDirectory(T dir,
BasicFileAttributes attrs) |
FileVisitResult |
visitFile(T file,
BasicFileAttributes attrs) |
FileVisitResult |
visitFileFailed(T file,
IOException exc) |
protected ForwardingFileVisitor(FileVisitor<T> visitor)
public FileVisitResult preVisitDirectory(T dir, BasicFileAttributes attrs) throws IOException
preVisitDirectory
in interface FileVisitor<T>
IOException
public FileVisitResult visitFile(T file, BasicFileAttributes attrs) throws IOException
visitFile
in interface FileVisitor<T>
IOException
public FileVisitResult visitFileFailed(T file, IOException exc) throws IOException
visitFileFailed
in interface FileVisitor<T>
IOException
public FileVisitResult postVisitDirectory(T dir, IOException exc) throws IOException
postVisitDirectory
in interface FileVisitor<T>
IOException