public abstract class SimplePathVisitor extends SimpleFileVisitor<Path> implements PathVisitor
SimpleFileVisitor typed to a Path.| Modifier and Type | Class and Description |
|---|---|
protected static class |
SimplePathVisitor.AbstractBuilder<T,B extends AbstractSupplier<T,B>>
Abstracts builder for subclasses.
|
| Modifier | Constructor and Description |
|---|---|
protected |
SimplePathVisitor()
Constructs a new instance.
|
protected |
SimplePathVisitor(IOBiFunction<Path,IOException,FileVisitResult> visitFileFailedFunction)
Constructs a new instance.
|
(package private) |
SimplePathVisitor(SimplePathVisitor.AbstractBuilder<?,?> builder)
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
FileVisitResult |
visitFileFailed(Path file,
IOException exc) |
postVisitDirectory, preVisitDirectory, visitFileclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpostVisitDirectory, preVisitDirectory, visitFileprotected SimplePathVisitor()
protected SimplePathVisitor(IOBiFunction<Path,IOException,FileVisitResult> visitFileFailedFunction)
visitFileFailedFunction - Called on visitFileFailed(Path, IOException).SimplePathVisitor(SimplePathVisitor.AbstractBuilder<?,?> builder)
builder - The builder provided by a subclass.public FileVisitResult visitFileFailed(Path file, IOException exc) throws IOException
visitFileFailed in interface FileVisitor<Path>visitFileFailed in class SimpleFileVisitor<Path>IOException