Sign in Join
FPDoc Onlineexperiment

TFPMimeTypes.LoadFromStream procedure

Member of TFPMimeTypespublicIn unit FpMimeTypes

Load mime types from a stream in mime.types file format.

Declaration

pascal
procedure LoadFromStream(const Stream: TStream); virtual

Arguments

Stream

Stream to load MIME types from.

Description

LoadFromStream parses the stream for MIME type definitions and extensions and adds them to the list of known MIME types. The stream is expected to have the text format of the mime.types as found in unix systems.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.