org.archive.wayback.replay.selector
Class PathMatchSelector
java.lang.Object
org.archive.wayback.replay.selector.BaseReplayRendererSelector
org.archive.wayback.replay.selector.PathMatchSelector
- All Implemented Interfaces:
- ReplayRendererSelector
public class PathMatchSelector
- extends BaseReplayRendererSelector
Class which allows matching based on:
a) one of several strings, any of which being found in the path cause match
b) one of several strings, any of which being found in the query cause match
c) one of several strings, *ALL* of which being found in the url cause match
- Version:
- $Date: 2010-10-12 03:01:21 +0700 (Tue, 12 Oct 2010) $, $Revision: 3277 $
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PathMatchSelector
public PathMatchSelector()
canHandle
public boolean canHandle(WaybackRequest wbRequest,
CaptureSearchResult result,
Resource resource)
- Specified by:
canHandle in interface ReplayRendererSelector- Specified by:
canHandle in class BaseReplayRendererSelector
getPathContains
public List<String> getPathContains()
- Returns:
- list of Strings, any of which being found in the path cause a
match
setPathContains
public void setPathContains(List<String> pathContains)
- Parameters:
pathContains - list of Strings, any of which being found in the
path cause a match
getUrlContainsAll
public List<String> getUrlContainsAll()
- Returns:
- list of Strings, *ALL* of which must be found somewhere in the
URL to cause a match
setUrlContainsAll
public void setUrlContainsAll(List<String> urlContainsAll)
- Parameters:
urlContainsAll - list of Strings, *ALL* of which must be found
somewhere in the URL to cause a match
getQueryContains
public List<String> getQueryContains()
- Returns:
- list of Strings, any of which being found in the query cause a
match
setQueryContains
public void setQueryContains(List<String> queryContains)
- Parameters:
queryContains - list of Strings, any of which being found in the
query cause a match
Copyright © 2005-2011 Internet Archive. All Rights Reserved.