Class TBrookMIME

Unit

Declaration

type TBrookMIME = class(TBrookHandledComponent)

Description

Provides all registered media types in any supported platform.

Hierarchy

Overview

Methods

Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public function GetProviderClass: TBrookMediaTypesClass; inline;
Public procedure Open;
Public procedure Close;

Properties

Public property Types: TBrookMediaTypes read GetTypes;
Published property Active: Boolean read FActive write SetActive stored IsActiveStored;
Published property DefaultType: string read FDefaultType write SetDefaultType stored IsDefaultTypeStored;
Published property FileName: TFileName read FFileName write SetFileName stored IsFileNameStored;
Published property Provider: string read FProvider write SetProvider stored IsProviderStored;

Description

Methods

Public constructor Create(AOwner: TComponent); override;

Creates an instance of TBrookMIME.

Parameters
AOwner[in]
Owner component.
Public destructor Destroy; override;

Destroys an instance of TBrookMIME.

Public function GetProviderClass: TBrookMediaTypesClass; inline;

Gets a media type class from the classes register.

Public procedure Open;

Opens the media types provider.

Public procedure Close;

Closes the media types provider.

Properties

Public property Types: TBrookMediaTypes read GetTypes;

Cached list containing the parsed media types.

Published property Active: Boolean read FActive write SetActive stored IsActiveStored;

Activates the cached media types provider.

Published property DefaultType: string read FDefaultType write SetDefaultType stored IsDefaultTypeStored;

Default media type identifier returned by TBrookMediaTypes.Find.

Published property FileName: TFileName read FFileName write SetFileName stored IsFileNameStored;

File name of the media types source.

Published property Provider: string read FProvider write SetProvider stored IsProviderStored;

Media types provider description.


Generated by PasDoc 0.16.0.