MimeTypes¶
Provide mapping from file names to MIME types. TODO load from /etc/mime.types
Constructors¶
create¶
Returns¶
- MimeTypes val^
Public Functions¶
apply¶
Mapping is based on the file type, following the last period in the name.
Parameters¶
- name: String val
Returns¶
- String val^
eq¶
Parameters¶
- that: MimeTypes val
Returns¶
- Bool val
ne¶
Parameters¶
- that: MimeTypes val
Returns¶
- Bool val