Unit BrookMediaTypes

Description

Contains classes for media types parsing.

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class EBrookMediaTypes Handles exceptions related to media type classes.
Class TBrookMediaTypes Cached abstract class to register, add, remove, find a media type.
Class TBrookMediaTypesParser Base class containing a basic media types parser.
Class TBrookMediaTypesParserNginx Media types parser for Nginx mime.types.
Class TBrookMediaTypesPath Media types provider from the mime.types file.
Class TBrookMediaTypesApache Media types provider from the Apache mime.types.
Class TBrookMediaTypesNginx Media types provider from the Nginx mime.types.
Class TBrookMediaTypesWindows Media types provider from the Windows registry.
Class TBrookMediaTypesUnix Media types provider from the /etc/mime.types.
Class TBrookMIME Provides all registered media types in any supported platform.

Types

TBrookMediaTypesClass = class of TBrookMediaTypes;
TBrookMediaTypesPathClass = class of TBrookMediaTypesPath;

Constants

BROOK_MIME_FILE = 'mime.types';
BROOK_MIME_TAG = 'BrookMIME_';
BROOK_MIME_PROVIDER = 'Windows' ;
SBrookInvalidMediaType = 'Invalid media type: %s.';
SBrookInvalidMediaExt = 'Invalid media extension: %s.';
SBrookEmptyMediaType = 'Empty media type.';
SBrookEmptyMediaExt = 'Empty media extension.';
SBrookActiveMIMETypes = 'Active MIME types.';
SBrookInactiveMIMETypes = 'Inactive MIME types.';
SBrookEmptyMIMEProvider = 'Empty MIME provider.';
SBrookInvalidMIMEProviderClass = 'Invalid MIME provider class: %s.';
SBrookUnknownMIMEProvider = 'Unknown MIME provider: %s.';

Description

Types

TBrookMediaTypesClass = class of TBrookMediaTypes;

Class-reference for TBrookMediaTypes.

TBrookMediaTypesPathClass = class of TBrookMediaTypesPath;

Class-reference for TBrookMediaTypesPath.

Constants

BROOK_MIME_FILE = 'mime.types';

Default MIME types file name.

BROOK_MIME_TAG = 'BrookMIME_';

Register prefix for MIME types class.

BROOK_MIME_PROVIDER = 'Windows' ;

Default MIME provider.

SBrookInvalidMediaType = 'Invalid media type: %s.';

Error message 'Invalid media type: <media-type>.'.

SBrookInvalidMediaExt = 'Invalid media extension: %s.';

Error message 'Invalid media extension: <ext>.'.

SBrookEmptyMediaType = 'Empty media type.';

Error message 'Empty media type'.

SBrookEmptyMediaExt = 'Empty media extension.';

Error message 'Empty media extension'.

SBrookActiveMIMETypes = 'Active MIME types.';

Error message 'Active MIME types'.

SBrookInactiveMIMETypes = 'Inactive MIME types.';

Error message 'Inactive MIME types'.

SBrookEmptyMIMEProvider = 'Empty MIME provider.';

Error message 'Empty MIME provider'.

SBrookInvalidMIMEProviderClass = 'Invalid MIME provider class: %s.';

Error message 'Invalid MIME provider class: <class-name>.'.

SBrookUnknownMIMEProvider = 'Unknown MIME provider: %s.';

Error message 'Unknown MIME provider: <unknown-mime>.'.


Generated by PasDoc 0.16.0.