Declaration¶
Source position: fpmimetypes.pp line 35
type
TMimeType = class(TObject)
public
constructor Create;
procedure MergeExtensions;
property MimeType: string; {rw}
property Extensions: string; {rw}
end;
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.
Properties¶
| Member | Visibility | Description |
|---|---|---|
| Extensions | public | Semicolon-separated list of extensions associated with MimeType. |
| MimeType | public | Mime type name. |
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Create | public | Create a new instance of TMimeType. |
| MergeExtensions | public | Merge extensions in the list of extensions. |
See also¶
| Name | Description |
|---|---|
| TMimeType.MimeType | Mime type name. |
| TMimeType.Extensions | Semicolon-separated list of extensions associated with MimeType. |
| TFPMimeTypes | Class to manage list of mime type mappings. |