org.archive.wayback.accesscontrol
Class ExternalExcluder
java.lang.Object
org.archive.wayback.accesscontrol.ExternalExcluder
public class ExternalExcluder
- extends java.lang.Object
Class which simplifies usage of wayback robots and static map exclusion
policies and software in external applications.
Uses Spring to construct an ExclusionFilterFactory which handles requests.
- Version:
- $Date$, $Revision$
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalExcluder
public ExternalExcluder(ObjectFilter<CaptureSearchResult> filter)
- Parameters:
filter -
isExcluded
public boolean isExcluded(java.lang.String urlString,
java.lang.String timestamp)
- Parameters:
urlString - timestamp -
- Returns:
- true if the url-timestamp should not be shown to end users
getExcluder
public static ExternalExcluder getExcluder(java.lang.String configPath)
- Parameters:
configPath -
- Returns:
- an excluder fully configured via the XML Spring configuration
at configPath
shutdown
public static void shutdown()
- shutdown underlying resources.
Copyright © 2005-2009 Internet Archive. All Rights Reserved.