MimeDatabase.this

Constructor based on MIME paths. It uses mime.detectors.cache.MimeDetectorFromCache as MIME type detector and mime.stores.files.FilesMimeStore as MIME type store.

  1. this(Range mimePaths)
    class MimeDatabase
    this
    (
    Range
    )
    (
    Range mimePaths
    )
    if (
    isInputRange!Range &&
    is(ElementType!Range : string)
    )
  2. this(IMimeStore store, IMimeDetector detector)

Parameters

mimePaths Range

Range of paths to base mime directories where needed files will be read.

See Also

mime.paths.mimePaths, mime.detectors.cache.MimeDetectorFromCache, mime.stores.files.FilesMimeStore

Meta