Class RegExpExclusionFilter

  • All Implemented Interfaces:
    org.archive.wayback.util.ObjectFilter<org.archive.wayback.core.CaptureSearchResult>

    public class RegExpExclusionFilter
    extends org.archive.wayback.resourceindex.filters.ExclusionFilter
    • Field Summary

      • Fields inherited from class org.archive.wayback.resourceindex.filters.ExclusionFilter

        filterGroup
      • Fields inherited from interface org.archive.wayback.util.ObjectFilter

        FILTER_ABORT, FILTER_EXCLUDE, FILTER_INCLUDE
    • Constructor Summary

      Constructors 
      Constructor Description
      RegExpExclusionFilter​(Collection<Pattern> regexps)
      Creates an exclusion filter which will filter out any search result for which the original url matches any of the specified regular expression.
    • Constructor Detail

      • RegExpExclusionFilter

        public RegExpExclusionFilter​(Collection<Pattern> regexps)
        Creates an exclusion filter which will filter out any search result for which the original url matches any of the specified regular expression.
        Parameters:
        regexps - The regular expressions to match.
    • Method Detail

      • filterObject

        public int filterObject​(org.archive.wayback.core.CaptureSearchResult captureSearchResult)