public abstract class SimplePathVisitor extends java.nio.file.SimpleFileVisitor<java.nio.file.Path> implements PathVisitor
SimpleFileVisitor
typed to a Path
.Modifier and Type | Field and Description |
---|---|
private IOBiFunction<java.nio.file.Path,java.io.IOException,java.nio.file.FileVisitResult> |
visitFileFailedFunction |
Modifier | Constructor and Description |
---|---|
protected |
SimplePathVisitor()
Constructs a new instance.
|
protected |
SimplePathVisitor(IOBiFunction<java.nio.file.Path,java.io.IOException,java.nio.file.FileVisitResult> visitFileFailed)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.nio.file.FileVisitResult |
visitFileFailed(java.nio.file.Path file,
java.io.IOException exc) |
postVisitDirectory, preVisitDirectory, visitFile
private final IOBiFunction<java.nio.file.Path,java.io.IOException,java.nio.file.FileVisitResult> visitFileFailedFunction
protected SimplePathVisitor()
protected SimplePathVisitor(IOBiFunction<java.nio.file.Path,java.io.IOException,java.nio.file.FileVisitResult> visitFileFailed)
visitFileFailed
- Called on visitFileFailed(Path, IOException)
.public java.nio.file.FileVisitResult visitFileFailed(java.nio.file.Path file, java.io.IOException exc) throws java.io.IOException
visitFileFailed
in interface java.nio.file.FileVisitor<java.nio.file.Path>
visitFileFailed
in class java.nio.file.SimpleFileVisitor<java.nio.file.Path>
java.io.IOException