Class CommonUtils.ClassVisitor

  • All Implemented Interfaces:
    java.nio.file.FileVisitor<java.nio.file.Path>
    Enclosing class:
    CommonUtils

    private static class CommonUtils.ClassVisitor
    extends java.lang.Object
    implements java.nio.file.FileVisitor<java.nio.file.Path>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.List<io.github.mkoncek.classpathless.api.IdentifiedSource> identifiedSources  
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassVisitor​(java.util.List<io.github.mkoncek.classpathless.api.IdentifiedSource> loaded)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.nio.file.FileVisitResult postVisitDirectory​(java.nio.file.Path path, java.io.IOException e)  
      java.nio.file.FileVisitResult preVisitDirectory​(java.nio.file.Path path, java.nio.file.attribute.BasicFileAttributes attributes)  
      java.nio.file.FileVisitResult visitFile​(java.nio.file.Path path, java.nio.file.attribute.BasicFileAttributes attributes)  
      java.nio.file.FileVisitResult visitFileFailed​(java.nio.file.Path path, java.io.IOException e)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • identifiedSources

        java.util.List<io.github.mkoncek.classpathless.api.IdentifiedSource> identifiedSources
    • Constructor Detail

      • ClassVisitor

        ClassVisitor​(java.util.List<io.github.mkoncek.classpathless.api.IdentifiedSource> loaded)
    • Method Detail

      • preVisitDirectory

        public java.nio.file.FileVisitResult preVisitDirectory​(java.nio.file.Path path,
                                                               java.nio.file.attribute.BasicFileAttributes attributes)
                                                        throws java.io.IOException
        Specified by:
        preVisitDirectory in interface java.nio.file.FileVisitor<java.nio.file.Path>
        Throws:
        java.io.IOException
      • visitFile

        public java.nio.file.FileVisitResult visitFile​(java.nio.file.Path path,
                                                       java.nio.file.attribute.BasicFileAttributes attributes)
                                                throws java.io.IOException
        Specified by:
        visitFile in interface java.nio.file.FileVisitor<java.nio.file.Path>
        Throws:
        java.io.IOException
      • visitFileFailed

        public java.nio.file.FileVisitResult visitFileFailed​(java.nio.file.Path path,
                                                             java.io.IOException e)
                                                      throws java.io.IOException
        Specified by:
        visitFileFailed in interface java.nio.file.FileVisitor<java.nio.file.Path>
        Throws:
        java.io.IOException
      • postVisitDirectory

        public java.nio.file.FileVisitResult postVisitDirectory​(java.nio.file.Path path,
                                                                java.io.IOException e)
                                                         throws java.io.IOException
        Specified by:
        postVisitDirectory in interface java.nio.file.FileVisitor<java.nio.file.Path>
        Throws:
        java.io.IOException