#include <MimeTypeMapper.h>
Inheritance diagram for acdk::net::MimeTypeMapper:
Public Member Functions | |
MimeTypeMapper () | |
virtual RString | getContentTypeFor (IN(RString) filename) |
The method returns the MIME type of the filename passed as an argument. | |
Static Protected Attributes | |
char * | mime_strings [][2] |
This array of strings is used to identify a MIME type based on a file extension. | |
Static Private Member Functions | |
RHashMap | mime_types () |
Static Private Attributes | |
RHashMap | __mime_types |
The MIME types above are put into this Hashtable for faster lookup. |
|
|
|
The method returns the MIME type of the filename passed as an argument. The value returned is based on the extension of the filename. The default content type returned if this method cannot determine the actual content type is
Implements acdk::net::FileNameMap. |
|
|
|
The MIME types above are put into this Hashtable for faster lookup.
|
|