[Overview][Classes][Procedures and functions][Index] Reference for unit 'fpmimetypes' (#fcl)

Reference for unit 'fpmimetypes'

Unit to handle mapping of filename extensions to MIME type

uses

  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: Oct 30 2020