# CustomMimeType

data class CustomMimeType (val raw: String ) : MimeType (source)

A custom implementation of MimeType that wraps a raw MIME type string. Use this when you need to work with MIME types that aren't defined in the standard set.

#### Parameters

raw

The raw MIME type string (e.g., "application/custom", "text/x-custom")

## Constructors

CustomMimeType
Link copied to clipboard
constructor(raw: String )

## Properties

extensions
Link copied to clipboard
open val extensions : Array < String >

An array of file extensions commonly associated with this MIME type. For example, "text/html" might have extensions "html", "htm". Returns an empty array by default if no extensions are known.

raw
Link copied to clipboard
open override val raw : String