Class MongoUtil.SchemaFolderFinder

  • All Implemented Interfaces:
    FileVisitor<Path>
    Enclosing class:
    MongoUtil

    public static class MongoUtil.SchemaFolderFinder
    extends Object
    implements FileVisitor<Path>
    • Constructor Detail

      • SchemaFolderFinder

        public SchemaFolderFinder()
    • Method Detail

      • preVisitDirectory

        public FileVisitResult preVisitDirectory​(Path dir,
                                                 BasicFileAttributes attrs)
                                          throws IOException
        Specified by:
        preVisitDirectory in interface FileVisitor<Path>
        Throws:
        IOException
      • visitFile

        public FileVisitResult visitFile​(Path file,
                                         BasicFileAttributes attrs)
                                  throws IOException
        Specified by:
        visitFile in interface FileVisitor<Path>
        Throws:
        IOException
      • visitFileFailed

        public FileVisitResult visitFileFailed​(Path file,
                                               IOException exc)
                                        throws IOException
        Specified by:
        visitFileFailed in interface FileVisitor<Path>
        Throws:
        IOException
      • postVisitDirectory

        public FileVisitResult postVisitDirectory​(Path dir,
                                                  IOException exc)
                                           throws IOException
        Specified by:
        postVisitDirectory in interface FileVisitor<Path>
        Throws:
        IOException
      • getLastDirectory

        public File getLastDirectory()