MimeTypes

Provide mapping from file names to MIME types. TODO load from /etc/mime.types

primitive val MimeTypes

Constructors

create

new val create()
: MimeTypes val^

Returns


Public Functions

apply

Mapping is based on the file type, following the last period in the name.

fun box apply(
  name: String val)
: String val^

Parameters

Returns


eq

fun box eq(
  that: MimeTypes val)
: Bool val

Parameters

Returns


ne

fun box ne(
  that: MimeTypes val)
: Bool val

Parameters

Returns