Class GlobTreeWalker


  • public class GlobTreeWalker
    extends Object
    Files tree walker, that uses a glob pattern to determine which files to visit
    • Constructor Detail

      • GlobTreeWalker

        public GlobTreeWalker()
    • Method Detail

      • walkFileTree

        public static void walkFileTree​(Path rootDir,
                                        Function<Path,​FileVisitResult> callback,
                                        String globPattern)
                                 throws IOException
        Parameters:
        rootDir - directory to
        callback - a function to call on every matched file
        globPattern - a glob pattern against which files are tested
        Throws:
        IOException