MimeMappings

constructor()

Create a new empty MimeMappings instance.


constructor(mappings: MimeMappings)

Create a new MimeMappings instance from the specified mappings.

Parameters

mappings

the source mappings


constructor(mappings: Map<String, String>)

Create a new MimeMappings from the specified mappings.

Parameters

mappings

the source mappings with extension as the key and mime-type as thevalue