T - The CountingPathVisitor type.B - The AbstractBuilder type.public abstract static class CountingPathVisitor.AbstractBuilder<T,B extends CountingPathVisitor.AbstractBuilder<T,B>> extends SimplePathVisitor.AbstractBuilder<T,B>
CountingPathVisitor.| Constructor and Description |
|---|
AbstractBuilder()
Constructs a new builder for subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) PathFilter |
getDirectoryFilter() |
(package private) java.util.function.UnaryOperator<Path> |
getDirectoryPostTransformer() |
(package private) PathFilter |
getFileFilter() |
(package private) Counters.PathCounters |
getPathCounters() |
B |
setDirectoryFilter(PathFilter directoryFilter)
Sets how to filter directories.
|
B |
setDirectoryPostTransformer(java.util.function.UnaryOperator<Path> directoryTransformer)
Sets how to transform directories, defaults to
UnaryOperator.identity(). |
B |
setFileFilter(PathFilter fileFilter)
Sets how to filter files.
|
B |
setPathCounters(Counters.PathCounters pathCounters)
Sets how to count path visits.
|
getVisitFileFailedFunction, setVisitFileFailedFunctionasThisclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasSupplier, get, getUncheckedpublic AbstractBuilder()
PathFilter getDirectoryFilter()
java.util.function.UnaryOperator<Path> getDirectoryPostTransformer()
PathFilter getFileFilter()
Counters.PathCounters getPathCounters()
public B setDirectoryFilter(PathFilter directoryFilter)
directoryFilter - how to filter files.public B setDirectoryPostTransformer(java.util.function.UnaryOperator<Path> directoryTransformer)
UnaryOperator.identity().directoryTransformer - how to filter files.public B setFileFilter(PathFilter fileFilter)
fileFilter - how to filter files.public B setPathCounters(Counters.PathCounters pathCounters)
pathCounters - How to count path visits.