java.lang.Object
org.apache.jena.atlas.web.ContentType
A restricted view of MediaType: type, subtype and charset.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
agreesWith
(MediaType mt) Return true if the media type has same type and subtype.static ContentType
static ContentType
boolean
Get the type/subtype as a string.getType()
int
hashCode()
toString()
-
Method Details
-
create
-
create
-
getContentTypeStr
Get the type/subtype as a string.- See Also:
-
getCharset
-
getType
-
getSubType
-
agreesWith
Return true if the media type has same type and subtype. -
toHeaderString
-
hashCode
public int hashCode() -
equals
-
toString
-