FpMimeTypes unit
Unit to handle mapping of filename extensions to MIME type.
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.
Classes and records
TFPMimeTypes | class | Class to manage list of mime type mappings. |
TMimeType | class | Helper class to store a mime type and its associated extensions. |
Procedures and functions
MimeTypes | function | Global TFPMimeTypes instance. |
Uses
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
