akregator/src/librss

RSS::OutputRetriever Class Reference

#include <loader.h>

Inheritance diagram for RSS::OutputRetriever:

RSS::DataRetriever List of all members.

Detailed Description

Implements a data retriever which executes a program and stores returned by the program on stdout.

To be used with Loader::loadFrom().

See also:
DataRetriever, Loader::loadFrom()

Definition at line 160 of file loader.h.


Public Member Functions

 OutputRetriever ()
virtual ~OutputRetriever ()
virtual void retrieveData (const KURL &url)
virtual int errorCode () const
virtual void abort ()

Constructor & Destructor Documentation

RSS::OutputRetriever::OutputRetriever  ) 
 

Default constructor.

virtual RSS::OutputRetriever::~OutputRetriever  )  [virtual]
 

Destructor.


Member Function Documentation

virtual int RSS::OutputRetriever::errorCode  )  const [virtual]
 

Returns:
The error code for the last process of retrieving data. 0 is returned in case there was no error, otherwise an error code which depends on the particular program which was run is returned.

Implements RSS::DataRetriever.

virtual void RSS::OutputRetriever::retrieveData const KURL &  url  )  [virtual]
 

Executes the program referenced by the given URL and retrieves the data which the program prints to stdout.

Parameters:
url An URL which is supposed to reference an executable file.
See also:
Loader::loadFrom()

Implements RSS::DataRetriever.


The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys