Enterprise Information Portal APIs

com.ibm.gcs.netutil
Class GCSFileContentHandler

java.lang.Object
  |
  +--java.net.ContentHandler
        |
        +--com.ibm.gcs.netutil.GCSFileContentHandler

public class GCSFileContentHandler
extends java.net.ContentHandler

The GCSFileContentHandler extends the java.net.ContentHandler class. The ContentHandler clas is responsible for actually decoding the contents a URL. When the getContent() method of the class URL is called, then a connection to the object is made by the protocol chaining, and the content chain will call an instance of this class to actually obtain the content/decode it. The GCSContentHandlerFactory sets up the GCSFileContentHandler to handle resources accessed through the "file" protocol.

See Also:
GCSContentHandlerFactory

Constructor Summary
GCSFileContentHandler()
           
 
Method Summary
 java.lang.Object getContent(java.net.URLConnection uc)
           
 
Methods inherited from class java.net.ContentHandler
getContent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GCSFileContentHandler

public GCSFileContentHandler()
Method Detail

getContent

public java.lang.Object getContent(java.net.URLConnection uc)
Overrides:
getContent in class java.net.ContentHandler

EIP Web Crawler APIs

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