Class 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
    A SimpleFileVisitor typed to a Path.
    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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.nio.file.FileVisitor

        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 interface java.nio.file.FileVisitor<java.nio.file.Path>
        Overrides:
        visitFileFailed in class java.nio.file.SimpleFileVisitor<java.nio.file.Path>
        Throws:
        java.io.IOException