java.lang.Object
com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FilePatternMatcher

public class FilePatternMatcher extends Object
A matcher for file patterns. Holds patters for file paths to be included or excluded and provides an accepts(String) method which evaluates a given path.
  • Method Details

    • accepts

      public boolean accepts(String path)
      Determines if the given path matches the configured include and exclude patterns. NOTE: The include pattern is evaluated before the exclude pattern.
      Parameters:
      path - The path.
      Returns:
      true if the path matches.
    • builder

      public static FilePatternMatcher.Builder builder()