activemq-cpp-3.9.0
|
Defines a scheme for mapping a filename type to a MIME content type. More...
#include <src/main/decaf/net/FileNameMap.h>
Public Member Functions | |
virtual | ~FileNameMap () |
virtual std::string | getContentTypeFor (const std::string &filename)=0 |
Determines the MIME type for a file. More... | |
Defines a scheme for mapping a filename type to a MIME content type.
Mainly used by URLStreamHandler for determining the right content handler to handle the resource.
|
virtual |
|
pure virtual |
Determines the MIME type for a file.
of a URL.
filename | the name of the file to consider. |