org.archive.wayback.accesscontrol
Class ExternalExcluder

java.lang.Object
  extended by 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

Constructor Summary
ExternalExcluder(ObjectFilter<CaptureSearchResult> filter)
           
 
Method Summary
static ExternalExcluder getExcluder(java.lang.String configPath)
           
 boolean isExcluded(java.lang.String urlString, java.lang.String timestamp)
           
static void shutdown()
          shutdown underlying resources.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalExcluder

public ExternalExcluder(ObjectFilter<CaptureSearchResult> filter)
Parameters:
filter -
Method Detail

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.