Package org.apache.commons.io.file
Class SimplePathVisitor
- java.lang.Object
-
- java.nio.file.SimpleFileVisitor<java.nio.file.Path>
-
- org.apache.commons.io.file.SimplePathVisitor
-
- All Implemented Interfaces:
java.nio.file.FileVisitor<java.nio.file.Path>
,PathVisitor
- Direct Known Subclasses:
CountingPathVisitor
,NoopPathVisitor
public abstract class SimplePathVisitor extends java.nio.file.SimpleFileVisitor<java.nio.file.Path> implements PathVisitor
ASimpleFileVisitor
typed to aPath
.- Since:
- 2.7
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.file.FileVisitResult
visitFileFailed(java.nio.file.Path file, java.io.IOException exc)
-
Methods inherited from class java.nio.file.SimpleFileVisitor
postVisitDirectory, preVisitDirectory, visitFile
-
-
-
-
Method Detail
-
visitFileFailed
public java.nio.file.FileVisitResult visitFileFailed(java.nio.file.Path file, java.io.IOException exc) throws java.io.IOException
- Specified by:
visitFileFailed
in interfacejava.nio.file.FileVisitor<java.nio.file.Path>
- Overrides:
visitFileFailed
in classjava.nio.file.SimpleFileVisitor<java.nio.file.Path>
- Throws:
java.io.IOException
-
-