tnt::MimeDb Class Reference

#include <tnt/mimedb.h>

Public Member Functions

 MimeDb ()
 MimeDb (const std::string &mimefile)
 MimeDb (const char *mimefile)
void read (const std::string &mimefile)
void read (const char *mimefile)
void read (std::istream &in)
void addType (const std::string &ext, const std::string &mimeType)
std::string getMimetype (const std::string &fname) const

Constructor & Destructor Documentation

tnt::MimeDb::MimeDb ( )
tnt::MimeDb::MimeDb ( const std::string &  mimefile)
tnt::MimeDb::MimeDb ( const char *  mimefile)

Member Function Documentation

void tnt::MimeDb::addType ( const std::string &  ext,
const std::string &  mimeType 
std::string tnt::MimeDb::getMimetype ( const std::string &  fname) const
void tnt::MimeDb::read ( const std::string &  mimefile)
void tnt::MimeDb::read ( const char *  mimefile)
void tnt::MimeDb::read ( std::istream &  in)

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