websphinx.workbench
Class URLPredicate

java.lang.Object
  |
  +--websphinx.workbench.URLPredicate
All Implemented Interfaces:
LinkPredicate, PagePredicate, java.io.Serializable

public class URLPredicate
extends java.lang.Object
implements LinkPredicate, PagePredicate

See Also:
Serialized Form

Field Summary
(package private)  Pattern pattern
           
 
Constructor Summary
URLPredicate(Pattern pattern)
           
 
Method Summary
 void connected(Crawler crawler)
           
 void disconnected(Crawler crawler)
           
 boolean equals(java.lang.Object object)
           
 Pattern getPattern()
           
 boolean shouldActOn(Page page)
           
 boolean shouldVisit(Link link)
           
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

pattern

Pattern pattern
Constructor Detail

URLPredicate

public URLPredicate(Pattern pattern)
Method Detail

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

getPattern

public Pattern getPattern()

connected

public void connected(Crawler crawler)
Specified by:
connected in interface LinkPredicate

disconnected

public void disconnected(Crawler crawler)
Specified by:
disconnected in interface LinkPredicate

shouldVisit

public boolean shouldVisit(Link link)
Specified by:
shouldVisit in interface LinkPredicate

shouldActOn

public boolean shouldActOn(Page page)
Specified by:
shouldActOn in interface PagePredicate