Enterprise Information Portal APIs

com.ibm.gcs.component.config
Class URLRegExPattern

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

public class URLRegExPattern
extends URLExcIncPattern

This type of URLExcIncPattern matches a URL using a Perl 5 style regular expression (from the ibm regex4j package). 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-name-pattern element.

See Also:
URLExcIncPattern, CrawlPattern, Group, Config

Method Summary
 boolean matches(java.net.URL url)
          checks whether a given URL matches this URLRegExPattern
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

matches

public boolean matches(java.net.URL url)
checks whether a given URL matches this URLRegExPattern
Overrides:
matches in class URLExcIncPattern

EIP Web Crawler APIs

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