Class GlobDirectoryWalker

  • All Implemented Interfaces:
    java.lang.Iterable<java.io.File>, DirectoryWalker

    public class GlobDirectoryWalker
    extends java.lang.Object
    implements DirectoryWalker
    Directory walker that finds all files that match the given glob expression. Code is based on a class of wildcard project (https://code.google.com/p/wildcard/).
    • Constructor Summary

      Constructors 
      Constructor Description
      GlobDirectoryWalker​(java.lang.String globExpression)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.io.File> scan()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • GlobDirectoryWalker

        public GlobDirectoryWalker​(java.lang.String globExpression)
    • Method Detail

      • scan

        public java.util.List<java.io.File> scan()
        Specified by:
        scan in interface DirectoryWalker