MimeTypeUtils.getDefaultMimeByExtension

Get the MIME type by filename extension. Lookup only the static default mime map.

@param filename A file name @return MIME type matching the longest dot extension of the file name.

class MimeTypeUtils
static
string
getDefaultMimeByExtension
(
string filename
)

Meta