- parse
Returns a media type for string, or null if string is not a well-formed media
type.
- toString
Returns the encoded media type, like "text/plain; charset=utf-8", appropriate
for use in a Content-T
- charset
Returns the charset of this media type, or defaultValue if either this media
type doesn't specify a
- subtype
Returns a specific media subtype, such as "plain" or "png", "mpeg", "mp4" or
"xml".
- type
Returns the high-level media type, such as "text", "image", "audio", "video", or
"application".
- get
Returns a media type for string.
- <init>