MimeType

@Serializable(with = MimeTypeSerializer::class)
expect class MimeType
@Serializable(with = MimeTypeSerializer::class)
actual class MimeType
@Serializable(with = MimeTypeSerializer::class)
actual class MimeType : MimeType
@Serializable(with = MimeTypeSerializer::class)
actual data class MimeType
@Serializable(with = MimeTypeSerializer::class)
actual data class MimeType
@Serializable
actual data class MimeType

Constructors

Link copied to clipboard
constructor(raw: String)
constructor(raw: String)
constructor(raw: String)
constructor(raw: String)
constructor(raw: String)

Properties

Link copied to clipboard
@Transient
val jsMimeType: MimeType?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
expect val raw: String
actual val raw: String
actual val raw: String
actual val raw: String
actual val raw: String
actual val raw: String
Link copied to clipboard

Functions

Link copied to clipboard
open fun getBaseType(): String
Link copied to clipboard
open fun getParameter(p0: String): String
Link copied to clipboard
open fun match(p0: MimeType): Boolean
open fun match(p0: String): Boolean
Link copied to clipboard
open override fun readExternal(p0: ObjectInput)
Link copied to clipboard
open fun removeParameter(p0: String)
Link copied to clipboard
open fun setParameter(p0: String, p1: String)
Link copied to clipboard
open override fun toString(): String
open override fun toString(): String
Link copied to clipboard
open override fun writeExternal(p0: ObjectOutput)