TFPMimeTypes.GetMimeType function
Get MIME type of an extension.
Declaration
function GetMimeType(const AExtension: string): stringArguments
AExtension | Extension to search for. |
Function result
MIME type for
AExtension, or empty if not found.
Description
GetMimeType returns the MIME type of the extension
AExtension. The extension is searched case-insensitive.
If no MIME type is found, an empty string is returned. The extension may start with a dot character or not.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
