Example usage for Java javax.mail.internet ContentType fields, constructors, methods, implement or subclass
The text is from its open source code.
ContentType(String s) Constructor that takes a Content-Type string. |
String | getBaseType() Return the MIME type string, without the parameters. |
String | getParameter(String name) Return the specified parameter value. |
String | getPrimaryType() Return the primary type. |
String | getSubType() Return the subType. |
boolean | match(ContentType cType) Match with the specified ContentType object. |
boolean | match(String s) Match with the specified content-type string. |
void | setParameter(String name, String value) Set the specified parameter. |
String | toString() Retrieve a RFC2045 style string representation of this Content-Type. |