Package org.archive.wayback.resourceindex.filters

Examples of org.archive.wayback.resourceindex.filters.UrlPrefixMatchFilter


      ObjectFilterChain<SearchResult> filters =
        new ObjectFilterChain<SearchResult>();
      filters.addFilter(guardrail);
      filters.addFilter(new DuplicateRecordFilter());

      filters.addFilter(new UrlPrefixMatchFilter(keyUrl));
      if(hostMatchFilter != null) {
        filters.addFilter(hostMatchFilter);
      }
      filters.addFilter(new DateRangeFilter(startDate, endDate));
      // possibly filter via exclusions:
View Full Code Here


      //          one class which EXCLUDEs before startDate, and ABORTs
      //              after endDate would save a compare..
      chain.addFilter(new EndDateFilter(endDate));
      chain.addFilter(new DateRangeFilter(startDate, endDate));
    } else if(request.isUrlQueryRequest()) {
      chain.addFilter(new UrlPrefixMatchFilter(keyUrl));
      chain.addFilter(new DateRangeFilter(startDate, endDate));
    }

   
    // Other Filters:
View Full Code Here

TOP

Related Classes of org.archive.wayback.resourceindex.filters.UrlPrefixMatchFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.