org.openjena.atlas.web
Class ContentType

java.lang.Object
  extended by org.openjena.atlas.web.ContentType

public class ContentType
extends Object

A restricted MediaType


Method Summary
static ContentType create(String ctString, String charset)
           
 boolean equals(Object obj)
           
 String getCharset()
           
 String getContentType()
           
 String getSubType()
           
 String getType()
           
 int hashCode()
           
static ContentType parse(String string)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

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