Class SimplePathVisitor
- All Implemented Interfaces:
FileVisitor<Path>, PathVisitor
- Direct Known Subclasses:
CountingPathVisitor, NoopPathVisitor
A
SimpleFileVisitor typed to a Path.- Since:
- 2.7
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs a new instance.protectedSimplePathVisitor(IOBiFunction<Path, IOException, FileVisitResult> visitFileFailed) Constructs a new instance. -
Method Summary
Methods inherited from class SimpleFileVisitor
postVisitDirectory, preVisitDirectory, visitFileMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FileVisitor
postVisitDirectory, preVisitDirectory, visitFile
-
Constructor Details
-
SimplePathVisitor
protected SimplePathVisitor()Constructs a new instance. -
SimplePathVisitor
Constructs a new instance.- Parameters:
visitFileFailed- Called onvisitFileFailed(Path, IOException).
-
-
Method Details
-
visitFileFailed
- Specified by:
visitFileFailedin interfaceFileVisitor<Path>- Overrides:
visitFileFailedin classSimpleFileVisitor<Path>- Throws:
IOException
-