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, visitFile
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postVisitDirectory, preVisitDirectory, visitFile
protected 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>
IOException
Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.