Package org.apache.commons.io.file
Class SimplePathVisitor
- All Implemented Interfaces:
- FileVisitor<Path>,- PathVisitor
- Direct Known Subclasses:
- CountingPathVisitor,- NoopPathVisitor
A 
SimpleFileVisitor typed to a Path.- Since:
- 2.7
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static classSimplePathVisitor.AbstractBuilder<T,B extends AbstractSupplier<T, B>> Abstracts builder for subclasses.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedConstructs a new instance.protectedSimplePathVisitor(IOBiFunction<Path, IOException, FileVisitResult> visitFileFailedFunction) Constructs a new instance.
- 
Method SummaryMethods inherited from class java.nio.file.SimpleFileVisitorpostVisitDirectory, preVisitDirectory, visitFileMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.nio.file.FileVisitorpostVisitDirectory, preVisitDirectory, visitFile
- 
Constructor Details- 
SimplePathVisitorprotected SimplePathVisitor()Constructs a new instance.
- 
SimplePathVisitorConstructs a new instance.- Parameters:
- visitFileFailedFunction- Called on- visitFileFailed(Path, IOException).
 
 
- 
- 
Method Details- 
visitFileFailed- Specified by:
- visitFileFailedin interface- FileVisitor<Path>
- Overrides:
- visitFileFailedin class- SimpleFileVisitor<Path>
- Throws:
- IOException
 
 
-