Unit BrookMediaTypes
Functions and Procedures
Variables
Description
Contains classes for media types parsing.
Uses
- RTLConsts
- SysUtils
- Classes
- libsagui
- BrookExtra
- BrookReader
- BrookHandledClasses
- BrookStringMap
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 |
TBrookMediaTypesPathClass = class of TBrookMediaTypesPath; |
Class-reference for |
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 |
SBrookInvalidMediaExt = 'Invalid media extension: %s.'; |
Error message |
SBrookEmptyMediaType = 'Empty media type.'; |
Error message |
SBrookEmptyMediaExt = 'Empty media extension.'; |
Error message |
SBrookActiveMIMETypes = 'Active MIME types.'; |
Error message |
SBrookInactiveMIMETypes = 'Inactive MIME types.'; |
Error message |
SBrookEmptyMIMEProvider = 'Empty MIME provider.'; |
Error message |
SBrookInvalidMIMEProviderClass = 'Invalid MIME provider class: %s.'; |
Error message |
SBrookUnknownMIMEProvider = 'Unknown MIME provider: %s.'; |
Error message |
Generated by PasDoc 0.16.0.