-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBrookMediaTypes.html
257 lines (254 loc) · 13.2 KB
/
BrookMediaTypes.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
<!DOCTYPE html>
<html lang="en">
<head>
<title>Brook Tardigrade: BrookMediaTypes</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.16.0">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="tipuesearch/tipuesearch.css">
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<div class="container"><div class="navigation">
<h2><a href="index.html">Brook Tardigrade</a></h2><ul><li><a href="AllUnits.html">Units</a></li><li><a href="ClassHierarchy.html">Class Hierarchy</a></li><li><a href="AllClasses.html">Classes, Interfaces, Objects and Records</a></li><li><a href="AllTypes.html">Types</a></li><li><a href="AllVariables.html">Variables</a></li><li><a href="AllConstants.html">Constants</a></li><li><a href="AllFunctions.html">Functions and Procedures</a></li><li><a href="AllIdentifiers.html">Identifiers</a></li><li><form class="search-form" action="tipue_results.html"><div class="search-input"><input type="text" name="q" id="tipue_search_input" pattern=".{3,}" title="At least 3 characters" required><div class="search-button"><input type="button" id="tipue_search_button" onclick="this.form.submit();"></div></div></form>
<div style="clear: both"></div>
</li></ul></div><div class="content">
<h1 class="unit">Unit BrookMediaTypes</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Uses">Uses</a></div><div class="one_section"><a class="section" href="#PasDoc-Classes">Classes, Interfaces, Objects and Records</a></div><div class="one_section">Functions and Procedures</div><div class="one_section"><a class="section" href="#PasDoc-Types">Types</a></div><div class="one_section"><a class="section" href="#PasDoc-Constants">Constants</a></div><div class="one_section">Variables</div></div>
<span id="PasDoc-Description"></span><h2 class="description">Description</h2>
<p>
Contains classes for media types parsing.</p>
<span id="PasDoc-Uses"></span><h2 class="uses">Uses</h2>
<ul class="useslist"><li>RTLConsts</li><li>SysUtils</li><li>Classes</li><li>libsagui</li><li><a href="BrookExtra.html">BrookExtra</a></li><li><a href="BrookReader.html">BrookReader</a></li><li><a href="BrookHandledClasses.html">BrookHandledClasses</a></li><li><a href="BrookStringMap.html">BrookStringMap</a></li></ul><h2 class="overview">Overview</h2>
<span id="PasDoc-Classes"></span><h3 class="cio">Classes, Interfaces, Objects and Records</h3>
<table class="classestable wide_list">
<tr class="listheader">
<th class="itemname">Name</th>
<th class="itemdesc">Description</th>
</tr>
<tr class="list">
<td class="itemname">Class <a class="bold" href="BrookMediaTypes.EBrookMediaTypes.html"><code>EBrookMediaTypes</code></a></td>
<td class="itemdesc">Handles exceptions related to media type classes.</td>
</tr>
<tr class="list2">
<td class="itemname">Class <a class="bold" href="BrookMediaTypes.TBrookMediaTypes.html"><code>TBrookMediaTypes</code></a></td>
<td class="itemdesc">Cached abstract class to register, <a class="normal" href="BrookMediaTypes.TBrookMediaTypes.html#Add">add</a>, <a class="normal" href="BrookMediaTypes.TBrookMediaTypes.html#Remove">remove</a>, <a class="normal" href="BrookMediaTypes.TBrookMediaTypes.html#Find">find</a> a media type.</td>
</tr>
<tr class="list">
<td class="itemname">Class <a class="bold" href="BrookMediaTypes.TBrookMediaTypesParser.html"><code>TBrookMediaTypesParser</code></a></td>
<td class="itemdesc">Base class containing a basic media <a class="normal" href="BrookMediaTypes.TBrookMediaTypesParser.html#Types">types</a> parser.</td>
</tr>
<tr class="list2">
<td class="itemname">Class <a class="bold" href="BrookMediaTypes.TBrookMediaTypesParserNginx.html"><code>TBrookMediaTypesParserNginx</code></a></td>
<td class="itemdesc">Media <a class="normal" href="BrookMediaTypes.TBrookMediaTypesParser.html#Types">types</a> parser for <a href="https://github.com/nginx/nginx/blob/master/conf/mime.types">Nginx mime.types</a>.</td>
</tr>
<tr class="list">
<td class="itemname">Class <a class="bold" href="BrookMediaTypes.TBrookMediaTypesPath.html"><code>TBrookMediaTypesPath</code></a></td>
<td class="itemdesc">Media types provider from the <code>mime.types</code> file.</td>
</tr>
<tr class="list2">
<td class="itemname">Class <a class="bold" href="BrookMediaTypes.TBrookMediaTypesApache.html"><code>TBrookMediaTypesApache</code></a></td>
<td class="itemdesc">Media types provider from the <a href="https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types">Apache mime.types</a>.</td>
</tr>
<tr class="list">
<td class="itemname">Class <a class="bold" href="BrookMediaTypes.TBrookMediaTypesNginx.html"><code>TBrookMediaTypesNginx</code></a></td>
<td class="itemdesc">Media types provider from the <a href="https://github.com/nginx/nginx/blob/master/conf/mime.types">Nginx mime.types</a>.</td>
</tr>
<tr class="list2">
<td class="itemname">Class <a class="bold" href="BrookMediaTypes.TBrookMediaTypesWindows.html"><code>TBrookMediaTypesWindows</code></a></td>
<td class="itemdesc">Media types provider from the Windows registry.</td>
</tr>
<tr class="list">
<td class="itemname">Class <a class="bold" href="BrookMediaTypes.TBrookMediaTypesUnix.html"><code>TBrookMediaTypesUnix</code></a></td>
<td class="itemdesc">Media types provider from the <code>/etc/mime.types</code>.</td>
</tr>
<tr class="list2">
<td class="itemname">Class <a class="bold" href="BrookMediaTypes.TBrookMIME.html"><code>TBrookMIME</code></a></td>
<td class="itemdesc">Provides all registered media <a class="normal" href="BrookMediaTypes.TBrookMIME.html#Types">types</a> in any supported platform.</td>
</tr>
</table>
<span id="PasDoc-Types"></span><h3 class="summary">Types</h3>
<table class="summary wide_list">
<tr class="list">
<td class="itemcode"><code><strong><a href="BrookMediaTypes.html#TBrookMediaTypesClass">TBrookMediaTypesClass</a></strong> = class of <a href="BrookMediaTypes.TBrookMediaTypes.html">TBrookMediaTypes</a>;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><strong><a href="BrookMediaTypes.html#TBrookMediaTypesPathClass">TBrookMediaTypesPathClass</a></strong> = class of <a href="BrookMediaTypes.TBrookMediaTypesPath.html">TBrookMediaTypesPath</a>;</code></td>
</tr>
</table>
<span id="PasDoc-Constants"></span><h3 class="summary">Constants</h3>
<table class="summary wide_list">
<tr class="list">
<td class="itemcode"><code><strong><a href="BrookMediaTypes.html#BROOK_MIME_FILE">BROOK_MIME_FILE</a></strong> = 'mime.types';</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><strong><a href="BrookMediaTypes.html#BROOK_MIME_TAG">BROOK_MIME_TAG</a></strong> = 'BrookMIME_';</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code><strong><a href="BrookMediaTypes.html#BROOK_MIME_PROVIDER">BROOK_MIME_PROVIDER</a></strong> =
'Windows'
;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><strong><a href="BrookMediaTypes.html#SBrookInvalidMediaType">SBrookInvalidMediaType</a></strong> = 'Invalid media type: %s.';</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code><strong><a href="BrookMediaTypes.html#SBrookInvalidMediaExt">SBrookInvalidMediaExt</a></strong> = 'Invalid media extension: %s.';</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><strong><a href="BrookMediaTypes.html#SBrookEmptyMediaType">SBrookEmptyMediaType</a></strong> = 'Empty media type.';</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code><strong><a href="BrookMediaTypes.html#SBrookEmptyMediaExt">SBrookEmptyMediaExt</a></strong> = 'Empty media extension.';</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><strong><a href="BrookMediaTypes.html#SBrookActiveMIMETypes">SBrookActiveMIMETypes</a></strong> = 'Active MIME types.';</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code><strong><a href="BrookMediaTypes.html#SBrookInactiveMIMETypes">SBrookInactiveMIMETypes</a></strong> = 'Inactive MIME types.';</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><strong><a href="BrookMediaTypes.html#SBrookEmptyMIMEProvider">SBrookEmptyMIMEProvider</a></strong> = 'Empty MIME provider.';</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code><strong><a href="BrookMediaTypes.html#SBrookInvalidMIMEProviderClass">SBrookInvalidMIMEProviderClass</a></strong> = 'Invalid MIME provider class: %s.';</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><strong><a href="BrookMediaTypes.html#SBrookUnknownMIMEProvider">SBrookUnknownMIMEProvider</a></strong> = 'Unknown MIME provider: %s.';</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Types</h3>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="TBrookMediaTypesClass"></span><code><strong>TBrookMediaTypesClass</strong> = class of <a href="BrookMediaTypes.TBrookMediaTypes.html">TBrookMediaTypes</a>;</code></td>
</tr>
<tr><td colspan="1">
<p>
Class-reference for <code><a class="normal" href="BrookMediaTypes.TBrookMediaTypes.html">TBrookMediaTypes</a></code>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="TBrookMediaTypesPathClass"></span><code><strong>TBrookMediaTypesPathClass</strong> = class of <a href="BrookMediaTypes.TBrookMediaTypesPath.html">TBrookMediaTypesPath</a>;</code></td>
</tr>
<tr><td colspan="1">
<p>
Class-reference for <code><a class="normal" href="BrookMediaTypes.TBrookMediaTypesPath.html">TBrookMediaTypesPath</a></code>.</p>
</td></tr>
</table>
<h3 class="detail">Constants</h3>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="BROOK_MIME_FILE"></span><code><strong>BROOK_MIME_FILE</strong> = 'mime.types';</code></td>
</tr>
<tr><td colspan="1">
<p>
Default MIME types file name.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="BROOK_MIME_TAG"></span><code><strong>BROOK_MIME_TAG</strong> = 'BrookMIME_';</code></td>
</tr>
<tr><td colspan="1">
<p>
Register prefix for MIME types class.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="BROOK_MIME_PROVIDER"></span><code><strong>BROOK_MIME_PROVIDER</strong> =
'Windows'
;</code></td>
</tr>
<tr><td colspan="1">
<p>
Default MIME provider.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="SBrookInvalidMediaType"></span><code><strong>SBrookInvalidMediaType</strong> = 'Invalid media type: %s.';</code></td>
</tr>
<tr><td colspan="1">
<p>
Error message <code>'Invalid media type: <media-type>.'</code>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="SBrookInvalidMediaExt"></span><code><strong>SBrookInvalidMediaExt</strong> = 'Invalid media extension: %s.';</code></td>
</tr>
<tr><td colspan="1">
<p>
Error message <code>'Invalid media extension: <ext>.'</code>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="SBrookEmptyMediaType"></span><code><strong>SBrookEmptyMediaType</strong> = 'Empty media type.';</code></td>
</tr>
<tr><td colspan="1">
<p>
Error message <code>'Empty media type'</code>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="SBrookEmptyMediaExt"></span><code><strong>SBrookEmptyMediaExt</strong> = 'Empty media extension.';</code></td>
</tr>
<tr><td colspan="1">
<p>
Error message <code>'Empty media extension'</code>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="SBrookActiveMIMETypes"></span><code><strong>SBrookActiveMIMETypes</strong> = 'Active MIME types.';</code></td>
</tr>
<tr><td colspan="1">
<p>
Error message <code>'Active MIME types'</code>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="SBrookInactiveMIMETypes"></span><code><strong>SBrookInactiveMIMETypes</strong> = 'Inactive MIME types.';</code></td>
</tr>
<tr><td colspan="1">
<p>
Error message <code>'Inactive MIME types'</code>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="SBrookEmptyMIMEProvider"></span><code><strong>SBrookEmptyMIMEProvider</strong> = 'Empty MIME provider.';</code></td>
</tr>
<tr><td colspan="1">
<p>
Error message <code>'Empty MIME provider'</code>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="SBrookInvalidMIMEProviderClass"></span><code><strong>SBrookInvalidMIMEProviderClass</strong> = 'Invalid MIME provider class: %s.';</code></td>
</tr>
<tr><td colspan="1">
<p>
Error message <code>'Invalid MIME provider class: <class-name>.'</code>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="SBrookUnknownMIMEProvider"></span><code><strong>SBrookUnknownMIMEProvider</strong> = 'Unknown MIME provider: %s.';</code></td>
</tr>
<tr><td colspan="1">
<p>
Error message <code>'Unknown MIME provider: <unknown-mime>.'</code>.</p>
</td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.16.0</a>. </em>
</span>
</div></div></body></html>