Enterprise Information Portal APIs

com.ibm.gcs.component.config
Class URLPredicatePattern

java.lang.Object
  |
  +--com.ibm.gcs.component.config.URLExcIncPattern
        |
        +--com.ibm.gcs.component.config.URLPredicatePattern

public class URLPredicatePattern
extends URLExcIncPattern

This type of URLExcIncPattern matches a URL using a separate UnaryPredicate class. This pattern can be used in the exclude-pattern-list or include-pattern-list of a CrawlPattern in a Group in the GCS Config. It is constructed from a url-obj-pattern element.

See Also:
URLExcIncPattern, CrawlPattern, Group, Config

Method Summary
 com.ibm.gcs.util.jdp.UnaryPredicate getPredicate()
           
 boolean matches(java.net.URL url)
          checks whether some URL matches this pattern.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPredicate

public com.ibm.gcs.util.jdp.UnaryPredicate getPredicate()

matches

public boolean matches(java.net.URL url)
Description copied from class: URLExcIncPattern
checks whether some URL matches this pattern.
Overrides:
matches in class URLExcIncPattern

EIP Web Crawler APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.