kioslaves

Stat Class Reference

This class is used to get the stats of a mbox-email or mbox-file. More...

#include <stat.h>

List of all members.


Public Member Functions

 Stat ()
 ~Stat ()

Static Public Member Functions

static KIO::UDSEntry stat (ReadMBox &mbox, const UrlInfo &info)
static KIO::UDSEntry stat (const UrlInfo &info)
static KIO::UDSEntry statDirectory (const UrlInfo &info)
static KIO::UDSEntry statMessage (const UrlInfo &info)

Detailed Description

This class is used to get the stats of a mbox-email or mbox-file.

This class only uses static members.

Definition at line 35 of file stat.h.


Constructor & Destructor Documentation

Stat::Stat (  )  [inline]

Empty constructor.

Definition at line 41 of file stat.h.

Stat::~Stat (  )  [inline]

Emtpy destructor.

Definition at line 46 of file stat.h.


Member Function Documentation

KIO::UDSEntry Stat::stat ( ReadMBox mbox,
const UrlInfo info 
) [static]

This function gives information with a given ReadMBox and UrlInfo.

Through this, it is possible to ask the stats of the next message, without reopening the mbox-file.

Parameters:
mbox The ReadMBox instance, used to search the mbox-email in.
info The url information.
Returns:
The requesteds information.

Definition at line 39 of file stat.cc.

KIO::UDSEntry Stat::stat ( const UrlInfo info  )  [static]

This functions gives information with a given UrlInfo.

Parameters:
info The file information
Returns:
The information of the file as destribed in UrlInfo.

Definition at line 29 of file stat.cc.

KIO::UDSEntry Stat::statDirectory ( const UrlInfo info  )  [static]

This function gets the stats of a given mbox-file in an UDSEntry.

Parameters:
info The location of the mbox-file.
Returns:
A list of Atoms.

Definition at line 66 of file stat.cc.

KIO::UDSEntry Stat::statMessage ( const UrlInfo info  )  [static]

This function gets the stats of a geven mbox-message in a UDSEntry.

Parameters:
info The url of the mbox-message.
Returns:
Information shipped in an UDSEntry.

Definition at line 78 of file stat.cc.


The documentation for this class was generated from the following files: