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

TMimeType

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Helper class to store a mime type and its associated extensions

Declaration

Source position: fpmimetypes.pp line 28

type TMimeType = class(TObject)

public

  constructor Create();

  

Create a new instance of TMimeType

  procedure MergeExtensions();

  

Merge extensions in the list of extensions

  property MimeType: string; [rw]

  

Mime type name

  property Extensions: string; [rw]

  

Semicolon-separated list of extensions associated with MimeType

end;

Inheritance

TMimeType

  

Helper class to store a mime type and its associated extensions

|

TObject

Description

TMimeType is a helper class which stores a MIME type and it's associated extensions. It should not be necessary to create instances of this class manually, the creation is handled entirely through the TFPMimeTypes class.

See also

TMimeType.MimeType

  

Mime type name

TMimeType.Extensions

  

Semicolon-separated list of extensions associated with MimeType

TFPMimeTypes

  

Class to manage list of mime type mappings


Documentation generated on: Jun 23 2021