org.archive.wayback.resourceindex.filters
Class UserInfoInAuthorityFilter

java.lang.Object
  extended by org.archive.wayback.resourceindex.filters.UserInfoInAuthorityFilter
All Implemented Interfaces:
ObjectFilter<CaptureSearchResult>

public class UserInfoInAuthorityFilter
extends Object
implements ObjectFilter<CaptureSearchResult>

Class which omits CaptureSearchResults that have and '@' in the original URL field, if that '@' is after the scheme, and before the first '/' or ':'

Author:
brad

Field Summary
 
Fields inherited from interface org.archive.wayback.util.ObjectFilter
FILTER_ABORT, FILTER_EXCLUDE, FILTER_INCLUDE
 
Constructor Summary
UserInfoInAuthorityFilter()
           
 
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.
 boolean isWantUserInfo()
           
 void setWantUserInfo(boolean wantUserInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserInfoInAuthorityFilter

public UserInfoInAuthorityFilter()
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.

Specified by:
filterObject in interface ObjectFilter<CaptureSearchResult>
Parameters:
o - Object which should be checked for inclusion/exclusion or abort
Returns:
int of FILTER_INCLUDE, FILTER_EXCLUDE, or FILTER_ABORT

isWantUserInfo

public boolean isWantUserInfo()
Returns:
the wantUserInfo

setWantUserInfo

public void setWantUserInfo(boolean wantUserInfo)
Parameters:
wantUserInfo - the wantUserInfo to set


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