Package org.apache.commons.io.file
Class NoopPathVisitor
- java.lang.Object
-
- java.nio.file.SimpleFileVisitor<java.nio.file.Path>
-
- org.apache.commons.io.file.SimplePathVisitor
-
- org.apache.commons.io.file.NoopPathVisitor
-
- All Implemented Interfaces:
java.nio.file.FileVisitor<java.nio.file.Path>
,PathVisitor
public class NoopPathVisitor extends SimplePathVisitor
A noop path visitor.- Since:
- 2.9.0
-
-
Field Summary
Fields Modifier and Type Field Description static NoopPathVisitor
INSTANCE
The singleton instance.
-
Constructor Summary
Constructors Constructor Description NoopPathVisitor()
Constructs a new instance.NoopPathVisitor(IOBiFunction<java.nio.file.Path,java.io.IOException,java.nio.file.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
-
-
-
-
Field Detail
-
INSTANCE
public static final NoopPathVisitor INSTANCE
The singleton instance.
-
-
Constructor Detail
-
NoopPathVisitor
public NoopPathVisitor()
Constructs a new instance.
-
NoopPathVisitor
public NoopPathVisitor(IOBiFunction<java.nio.file.Path,java.io.IOException,java.nio.file.FileVisitResult> visitFileFailed)
Constructs a new instance.- Parameters:
visitFileFailed
- Called onSimplePathVisitor.visitFileFailed(Path, IOException)
.- Since:
- 2.12.0
-
-