org.archive.wayback.accesscontrol.staticmap
Class StaticMapExclusionFilter

java.lang.Object
  extended by org.archive.wayback.resourceindex.filters.ExclusionFilter
      extended by org.archive.wayback.accesscontrol.staticmap.StaticMapExclusionFilter
All Implemented Interfaces:
ObjectFilter<CaptureSearchResult>

public class StaticMapExclusionFilter
extends ExclusionFilter

Version:
$Date: 2010-09-29 05:28:38 +0700 (Wed, 29 Sep 2010) $, $Revision: 3262 $
Author:
brad

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
StaticMapExclusionFilter(Map<String,Object> map)
           
 
Method Summary
 int filterObject(CaptureSearchResult r)
          inpect record and determine if it should be included in the results or not, or if processing of new records should stop.
protected  boolean isExcluded(String url)
           
 
Methods inherited from class org.archive.wayback.resourceindex.filters.ExclusionFilter
setFilterGroup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticMapExclusionFilter

public StaticMapExclusionFilter(Map<String,Object> map)
Parameters:
map - where each String key is a SURT that is blocked.
Method Detail

isExcluded

protected boolean isExcluded(String url)

filterObject

public int filterObject(CaptureSearchResult r)
Description copied from interface: ObjectFilter
inpect record and determine if it should be included in the results or not, or if processing of new records should stop.

Parameters:
r - Object which should be checked for inclusion/exclusion or abort
Returns:
int of FILTER_INCLUDE, FILTER_EXCLUDE, or FILTER_ABORT


Copyright © 2005-2011 Internet Archive. All Rights Reserved.