|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.rat.api.ContentType
public class ContentType
Describe the MIME content type of a resource.
Constructor Summary | |
---|---|
ContentType(String mediaType,
String subType,
Map parameters)
Constructs content types, performing an necessary conversions. |
Method Summary | |
---|---|
String |
getMediaType()
Gets the media type, normalised to lower case. |
Map |
getParameters()
Gets an immutable map containing all content type parameters with keys normalised to lower case. |
String |
getSubType()
Gets the media sub type normalised to lower case |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentType(String mediaType, String subType, Map parameters)
mediaType
- not nullsubType
- not nullparameters
- not nullMethod Detail |
---|
public String getMediaType()
public String getSubType()
public Map getParameters()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |