Internet Direct (Indy)
Home
PreviousUpNext
TIdMimeTable.SaveToStrings Method

Stores MIME Type mapping values to a TIdStrings variable.

Pascal
procedure SaveToStrings(
    const AStrings: TIdStrings; 
    const MimeSeparator: Char = '='
);
Parameters 
Description 
AStrings 
Destination for MIME Type mapping values.
 
MimeSeparator 
Delimiter for extension and MIME type values. 

SaveToStrings is a procedure used to store values in the MIME type mapping to table to the TIdStrings specified in AStrings. MimeSeparator is the charcter to use as a delimiter between the file extension and the MIME Type and Subtype in lines added to AStrings. SaveToStrings clears any existing values in AStrings prior to storing the MIME Type mappings, with one file extension, delimiter character, and MIME Type value per line.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.