Add a MIME type to the list.
Source position: fpmimetypes.pp line 76
public procedure TFPMimeTypes.AddType( |
const AMimeType: string; |
const AExtensions: string |
); |
AMimeType |
|
MIME type to add. |
AExtensions |
|
Semicolon-separated list of extensions to associate with the MIME type. |
AddType can be used to add AMimeType to the list of known MIME types, and associate a semicolon-separated list of extensions AExtensions with it. If AMimeType is already present in the list of MIME types, then the list of extensions in AExtensions is merged with the existing extensions. The extensions may not have a dot character prepended to them.
|
Get the extensions associated with a MIME type. |
|
|
Get MIME type of an extension. |