Unit 'fpmimetypes' Package
[Overview][Classes][Procedures and functions][Index] [#fcl]

Reference for unit 'fpmimetypes'

Unit to handle mapping of filename extensions to MIME type.

uses

  System,

  Classes,

  sysutils,

  Contnrs;

  

Various general purpose classes: stack, queue, objectlists.

Overview

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.


Documentation generated on: Nov 23 2024