Package org.apache.commons.io.file
Class SimplePathVisitor.AbstractBuilder<T,B extends AbstractSupplier<T,B>>  
java.lang.Object
org.apache.commons.io.build.AbstractSupplier<T,B>
 
org.apache.commons.io.file.SimplePathVisitor.AbstractBuilder<T,B> 
- Type Parameters:
- T- The SimplePathVisitor type.
- B- The builder type.
- All Implemented Interfaces:
- IOSupplier<T>
- Direct Known Subclasses:
- CountingPathVisitor.AbstractBuilder
- Enclosing class:
- SimplePathVisitor
protected abstract static class SimplePathVisitor.AbstractBuilder<T,B extends AbstractSupplier<T,B>>  
extends AbstractSupplier<T,B> 
Abstracts builder for subclasses.
- Since:
- 2.19.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionsetVisitFileFailedFunction(IOBiFunction<Path, IOException, FileVisitResult> visitFileFailedFunction) Sets the function to call onSimplePathVisitor.visitFileFailed(Path, IOException).Methods inherited from class org.apache.commons.io.build.AbstractSupplierasThisMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.commons.io.function.IOSupplierasSupplier, get, getUnchecked
- 
Constructor Details- 
AbstractBuilderpublic AbstractBuilder()Constructs a new builder for subclasses.
 
- 
- 
Method Details- 
setVisitFileFailedFunctionpublic B setVisitFileFailedFunction(IOBiFunction<Path, IOException, FileVisitResult> visitFileFailedFunction) Sets the function to call onSimplePathVisitor.visitFileFailed(Path, IOException).Defaults to SimpleFileVisitor.visitFileFailed(Object, IOException)on construction.- Parameters:
- visitFileFailedFunction- the function to call on- SimplePathVisitor.visitFileFailed(Path, IOException).
- Returns:
- this instance.
 
 
-