Class PatternFilter


  • public class PatternFilter
    extends java.lang.Object
    Matches a path against a set of regular expression filters
    • Constructor Summary

      Constructors 
      Constructor Description
      PatternFilter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isFiltered​(java.lang.String path)  
      void setPatterns​(java.util.List<java.lang.String> regexps)
      A list of regular expressions that represent patterns of files.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PatternFilter

        public PatternFilter()
    • Method Detail

      • setPatterns

        public void setPatterns​(java.util.List<java.lang.String> regexps)
        A list of regular expressions that represent patterns of files.
        Parameters:
        regexps - list of regular expressions
        See Also:
        String.matches(java.lang.String)
      • isFiltered

        public boolean isFiltered​(java.lang.String path)