Class TBrookMediaTypesPath

Unit

Declaration

type TBrookMediaTypesPath = class(TBrookMediaTypes)

Description

Media types provider from the mime.types file.

Hierarchy

Overview

Methods

Public constructor Create(const AFileName: string); reintroduce; overload; virtual;
Public constructor Create; overload; override;
Public destructor Destroy; override;
Public class function GetDescription: string; override;
Public class function GetFileName: TFileName; virtual;
Public procedure Prepare; override;
Public procedure Clear; override;

Properties

Public property Reader: TBrookTextReader read FReader;
Public property Parser: TBrookMediaTypesParser read FParser;
Public property FileName: string read FFileName;

Description

Methods

Public constructor Create(const AFileName: string); reintroduce; overload; virtual;

Creates an instance of TBrookMediaTypesPath.

Parameters
AFileName[in]
Media types file.
Public constructor Create; overload; override;

Creates an instance of TBrookMediaTypesPath.

Public destructor Destroy; override;

Destroys an instance of TBrookMediaTypesPath.

Public class function GetDescription: string; override;

Returns the description of the media types source.

Returns

Description of the media types source.

Public class function GetFileName: TFileName; virtual;

Returns the file name of the media types source.

Returns

File name of the media types source.

Public procedure Prepare; override;

Prepares the media types source.

Public procedure Clear; override;

Clears the media types source.

Properties

Public property Reader: TBrookTextReader read FReader;

Line reader containing a media types source.

Public property Parser: TBrookMediaTypesParser read FParser;

Media types parser containing a media types source.

Public property FileName: string read FFileName;

File name of the media types source.


Generated by PasDoc 0.16.0.