Skip to content

MimeTypes

[Source]

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

primitive val MimeTypes

Constructors

create

[Source]

new val create()
: MimeTypes val^

Returns


Public Functions

apply

[Source]

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

[Source]

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

Parameters

Returns


ne

[Source]

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

Parameters

Returns