Package org.archive.wayback.resourceindex.filters

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


  protected List<PrefixEmbargoPeriodTuple> tuples = null;
  public ObjectFilter<CaptureSearchResult> get(AccessPoint ap) {
    if(tuples == null) {
      return null;
    }
    CompositeFilter composite = new CompositeFilter();
    ArrayList<ObjectFilter<CaptureSearchResult>> filters =
      new ArrayList<ObjectFilter<CaptureSearchResult>>();
    for(PrefixEmbargoPeriodTuple tuple : tuples) {
      filters.add(new FilePrefixDateEmbargoFilter(tuple.getPrefix(),
          tuple.getEmbargoMS()));
    }
    composite.setFilters(filters);
    return composite;
  }
View Full Code Here

TOP

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

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.