Tobias Thierer | 3243491 | 2019-09-27 19:22:39 +0100 | [diff] [blame] | 1 | ############################################################################### |
| 2 | # |
| 3 | # Vendor-specific MIME type <-> extension mappings |
| 4 | # |
| 5 | # Each line below defines a mapping from one MIME type to the first of the |
| 6 | # listed extensions, and from listed extension back to the MIME type. |
| 7 | # |
| 8 | # This file can _add_ additional mappings that are not in the default set, |
| 9 | # but it it cannot _modify_ (replace or remove) any platform default mapping |
| 10 | # (defined in files mime.types and android.mime.types). |
| 11 | # |
| 12 | ############################################################################### |
| 13 | # |
| 14 | # EXAMPLES |
| 15 | # |
| 16 | # A line of the form (without the leading '#''): |
| 17 | # |
| 18 | # mime ext1 ext2 ext3 |
| 19 | # |
| 20 | # affects the current mappings along the lines of the following pseudo code: |
| 21 | # |
| 22 | # mimeToExt.putIfAbsent("mime", "ext1"); |
| 23 | # extToMime.putIfAbsent("ext1", "mime"); |
| 24 | # extToMime.putIfAbsent("ext2", "mime"); |
| 25 | # extToMime.putIfAbsent("ext3", "mime"); |
| 26 | # |
| 27 | # Optionally, MIME types or extensions may be prefixed by a single '?', which |
| 28 | # will be ignored. I.e., the following example lines all have the same semantics: |
| 29 | # |
| 30 | # mime ext1 ext2 ext3 |
| 31 | # ?mime ext1 ext2 ext3 |
| 32 | # mime ?ext1 ext2 ?ext3 |
| 33 | # ?mime ?ext1 ?ext2 ?ext3 |
| 34 | # |
| 35 | # By default, this file contains no mappings (which means that the platform |
| 36 | # default mapping is used unmodified). |
| 37 | # |
| 38 | ############################################################################### |
| 39 | # |
| 40 | # Add your custom mappings below this line (with no "#" at the start of the line): |
| 41 | |