2005/5/9

     
 

class ContentHandler

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::net::ContentHandler Class Reference

#include <ContentHandler.h>

List of all members.

Public Member Functions

virtual acdk::lang::Object getContent (IN(RURLConnection) urlcon)=0
 This method reads from the InputStream of the passed in URL connection and uses the data downloaded to create an acdk::lang::Object represening the content.


Member Function Documentation

virtual acdk::lang::Object acdk::net::ContentHandler::getContent IN(RURLConnection urlcon  )  [pure virtual]
 

This method reads from the InputStream of the passed in URL connection and uses the data downloaded to create an acdk::lang::Object represening the content.

For example, if the URL is pointing to a GIF file, this method might return an Image object. This method should be overridden by subclasses.

Parameters:
urlcon A URLConnection object to read data from
Returns:
An object representing the data read
Exceptions:
IOException If an error occurs