Enterprise Information Portal APIs

com.ibm.gcs.component.config
Class URLSeed

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

public class URLSeed
extends java.lang.Object

This part of a CrawlPattern Config represents a seed URL that is passed to the Crawler, with optional HttpSpecific information.

See Also:
CrawlPattern, URLExcIncPattern, Group, Config

Constructor Summary
URLSeed(org.w3c.dom.Element element, Config config)
          (constructor) builds a URLSeed from the config XML tree
URLSeed(java.lang.String url)
          (constructor) builds a URLSeed from a url String
 
Method Summary
 java.net.PasswordAuthentication getAuthentication()
          return authentication information if specified
 HttpSpecific getHttpSpecific()
          returns any HTTP specific information for this seed, such as content, and message headers
 java.lang.String getURLString()
          returns this seed's url
 boolean hasAuthentication()
          checks whether this seed has any authentication information
 boolean hasHttpSpecific()
          checks whether this seed has any HttpSpecific information
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLSeed

public URLSeed(org.w3c.dom.Element element,
               Config config)
        throws ConfigException
(constructor) builds a URLSeed from the config XML tree

URLSeed

public URLSeed(java.lang.String url)
(constructor) builds a URLSeed from a url String
Method Detail

getURLString

public java.lang.String getURLString()
returns this seed's url

getHttpSpecific

public HttpSpecific getHttpSpecific()
returns any HTTP specific information for this seed, such as content, and message headers

hasHttpSpecific

public boolean hasHttpSpecific()
checks whether this seed has any HttpSpecific information

hasAuthentication

public boolean hasAuthentication()
checks whether this seed has any authentication information

getAuthentication

public java.net.PasswordAuthentication getAuthentication()
return authentication information if specified

EIP Web Crawler APIs

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