|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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(String mimeType)
Creates a new parsed content type. |
|
| Method Summary | |
|---|---|
String |
getContentType()
Returns the content type (without charset declaration) of the MIME type. |
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(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 String getContentType()
public String getEncoding()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||