|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openjena.riot.ContentType
public class ContentType
Content Type - Parsed version of content type / MIME type
Method Summary | |
---|---|
static ContentType |
create(String contentType)
|
static ContentType |
create(String contentType,
String charset)
|
static ContentType |
createConst(String contentType,
String dftCharset)
Create a media type, with a default charset |
String |
getCharset()
|
String |
getContentType()
|
String |
getDftCharset()
|
static ContentType |
parse(String x)
Split Content-Type into MIME type and charset |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static ContentType parse(String x)
public static ContentType createConst(String contentType, String dftCharset)
public static ContentType create(String contentType, String charset)
public static ContentType create(String contentType)
public String toString()
toString
in class Object
public String getContentType()
public String getCharset()
public String getDftCharset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |