|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mozilla.javascript.commonjs.module.provider.ParsedContentType
public final class ParsedContentType
Breaks a "contentType; charset=encoding" MIME type into content type and encoding parts.
Constructor Summary | |
---|---|
ParsedContentType(java.lang.String mimeType)
Creates a new parsed content type. |
Method Summary | |
---|---|
java.lang.String |
getContentType()
Returns the content type (without charset declaration) of the MIME type. |
java.lang.String |
getEncoding()
Returns the character encoding of the MIME type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParsedContentType(java.lang.String mimeType)
mimeType
- the full MIME type; typically the value of the
"Content-Type" header of some MIME-compliant message. Can be null.Method Detail |
---|
public java.lang.String getContentType()
public java.lang.String getEncoding()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |