Class Glob

java.lang.Object
org.ek9lang.core.Glob

public final class Glob extends Object
Used for file path matching GLOB not regex. This is aimed just at file and path matching. Setup one or more includes and then excludes if you need to. But at least one include.
  • Constructor Details

  • Method Details

    • addInclude

      public void addInclude(String globPattern)
    • addExclude

      public void addExclude(String globPattern)
    • isAcceptable

      public boolean isAcceptable(String path)
    • isAcceptable

      public boolean isAcceptable(Path path)