Package org.apache.commons.io.file
Class NoopPathVisitor
java.lang.Object
java.nio.file.SimpleFileVisitor<Path>
org.apache.commons.io.file.SimplePathVisitor
org.apache.commons.io.file.NoopPathVisitor
- All Implemented Interfaces:
FileVisitor<Path>
,PathVisitor
A noop path visitor.
- Since:
- 2.9.0
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructs a new instance.NoopPathVisitor
(IOBiFunction<Path, IOException, FileVisitResult> visitFileFailed) Constructs a new instance. -
Method Summary
Methods inherited from class org.apache.commons.io.file.SimplePathVisitor
visitFileFailed
Methods inherited from class java.nio.file.SimpleFileVisitor
postVisitDirectory, preVisitDirectory, visitFile
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.nio.file.FileVisitor
postVisitDirectory, preVisitDirectory, visitFile
-
Field Details
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
NoopPathVisitor
public NoopPathVisitor()Constructs a new instance. -
NoopPathVisitor
Constructs a new instance.- Parameters:
visitFileFailed
- Called onSimplePathVisitor.visitFileFailed(Path, IOException)
.- Since:
- 2.12.0
-