com.hp.hpl.jena.sparql.engine.http
Class HttpContentType
java.lang.Object
com.hp.hpl.jena.sparql.engine.http.HttpContentType
public class HttpContentType
- extends Object
Handle HTTP content type
HttpContentType
public HttpContentType(String s)
HttpContentType
public HttpContentType(String s,
String defaultMediaType,
String defaultCharset)
getMediaType
public String getMediaType()
- Returns:
- Media type as string
setCharset
public void setCharset(String charset)
- Parameters:
charset - The charset to set.
getCharset
public String getCharset()
- Returns:
- charset as string
setMediaType
public void setMediaType(String mediaType)
- Parameters:
mediaType - The mediaType to set.
toString
public String toString()
- Overrides:
toString in class Object
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010 Epimorphics Ltd.