- forString
Returns the media type for the specified string. The same media type strings
always return the same
- toString
- forStrings
Same as #forString(String) but allows you to construct an array of MediaTypes
from an array of stri
- getSubTypes
Returns the subtypes broken down by fragments delimited by "'". For example, the
media type "text/fo
- getType
Returns the 'type' fragment of the 'type/subType' string.
- <init>
- equals
- getSubType
Returns the 'subType' fragment of the 'type/subType' string.
- match
Returns a match metric against the specified media type where a larger number
represents a better ma
- getParameters
Returns the additional parameters on this media type. For example, given the
media type string "text
- hasSubType
Returns true if the subtype contains the specified '+' delimited subtype value.