org.openjena.atlas.web
Class ContentType
java.lang.Object
org.openjena.atlas.web.ContentType
public class ContentType
- extends Object
A restricted MediaType
parse
public static ContentType parse(String string)
create
public static ContentType create(String ctString,
String charset)
getContentType
public String getContentType()
getCharset
public String getCharset()
getType
public String getType()
getSubType
public String getSubType()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Licenced under the Apache License, Version 2.0