IMimeDetector.mimeTypeForFileName

The preferable mime type for fileName.

interface IMimeDetector
const(char)[]
mimeTypeForFileName
(
const(char)[] fileName
)

Return Value

Type: const(char)[]

The name of preferable mime type for given fileName or null if could not find any match. Note: Implementer is NOT expected to get the file data or state (e.g. read or stat it).

Meta