public class ExternalExcluder extends Object
Constructor and Description |
---|
ExternalExcluder(ObjectFilter<CaptureSearchResult> filter) |
Modifier and Type | Method and Description |
---|---|
static ExternalExcluder |
getExcluder(String configPath) |
boolean |
isExcluded(String urlString,
String timestamp) |
static void |
shutdown()
shutdown underlying resources.
|
public ExternalExcluder(ObjectFilter<CaptureSearchResult> filter)
filter
- ObjectFilter responsible for excluding contentpublic boolean isExcluded(String urlString, String timestamp)
urlString
- String URL that should be checked for blocking.timestamp
- String 14-digit timestamp to check for blocking.public static ExternalExcluder getExcluder(String configPath)
configPath
- String path to local Sprint XML configuration. This
Spring config file must include a bean with id "excluder-factory"
that implements
org.archive.wayback.accesscontrol.ExclusionFilterFactorypublic static void shutdown()
Copyright © 2005–2015 IIPC. All rights reserved.