public abstract class SimplePathVisitor extends SimpleFileVisitor<Path> implements PathVisitor
SimpleFileVisitor typed to a Path.| Modifier | Constructor and Description |
|---|---|
protected |
SimplePathVisitor()
Constructs a new instance.
|
protected |
SimplePathVisitor(IOBiFunction<Path,IOException,FileVisitResult> visitFileFailed)
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
FileVisitResult |
visitFileFailed(Path file,
IOException exc) |
postVisitDirectory, preVisitDirectory, visitFileclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpostVisitDirectory, preVisitDirectory, visitFileprotected SimplePathVisitor()
protected SimplePathVisitor(IOBiFunction<Path,IOException,FileVisitResult> visitFileFailed)
visitFileFailed - Called on visitFileFailed(Path, IOException).public FileVisitResult visitFileFailed(Path file, IOException exc) throws IOException
visitFileFailed in interface FileVisitor<Path>visitFileFailed in class SimpleFileVisitor<Path>IOExceptionCopyright © 2002–2023 The Apache Software Foundation. All rights reserved.