|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.archive.crawler.frontier.URIQueueMatcher
public class URIQueueMatcher
An implementation of the QueueItemMatcher suitible for the
queues used by the Frontier
Predicate,
HostQueuesFrontier| Constructor Summary | |
|---|---|
URIQueueMatcher(java.lang.String pattern,
boolean delete,
Frontier frontier)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
evaluate(java.lang.Object o)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URIQueueMatcher(java.lang.String pattern,
boolean delete,
Frontier frontier)
pattern - A regular expression that will be applied to the
CandidateURIs' URIstring to determine if they 'match'.delete - If true then each time a match is hit, the related
CandidateURI will have it's fetch status set to
Deleted by user and sent to the frontier's
finish method for final disposition.frontier - The parent frontier. This can be null if delete is false.
Must be valid if delete is true.| Method Detail |
|---|
public boolean evaluate(java.lang.Object o)
evaluate in interface org.apache.commons.collections.Predicate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||