org.archive.wayback.accesscontrol.oracleclient
Class OracleExclusionFilter

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

public class OracleExclusionFilter
extends ExclusionFilter

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
OracleExclusionFilter(String oracleUrl, String accessGroup)
           
OracleExclusionFilter(String oracleUrl, String accessGroup, String proxyHostPort)
           
 
Method Summary
 int filterObject(CaptureSearchResult o)
          inpect record and determine if it should be included in the results or not, or if processing of new records should stop.
 
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

OracleExclusionFilter

public OracleExclusionFilter(String oracleUrl,
                             String accessGroup)
Parameters:
oracleUrl - String URL prefix for the Oracle HTTP server
accessGroup - String group to use with requests to the Oracle

OracleExclusionFilter

public OracleExclusionFilter(String oracleUrl,
                             String accessGroup,
                             String proxyHostPort)
Parameters:
oracleUrl - String URL prefix for the Oracle HTTP server
accessGroup - String group to use with requests to the Oracle
proxyHostPort - String proxyHost:proxyPort to use for robots.txt
Method Detail

filterObject

public int filterObject(CaptureSearchResult o)
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:
o - 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.