parse

fun parse(mtype: String?): MediaType?(source)
fun parse(mtype: String, forceEncoding: String? = null): MediaType(source)