Unit to handle mapping of filename extensions to MIME type.
uses |
||
System, |
||
|
Various general purpose classes: stack, queue, objectlists. |
The fpmimetypes unit contains a class which handles mapping of filename extensions to MIME (Multipurpose Internet Mail Extensions) types. The TFPMimeTypes class handles this mapping. A global instance of this class is available through the MimeTypes function. The list of known mime types can be instantiated through the LoadKnownTypes method, or a file in the standard mime.types format can be loaded through the LoadFromFile method.