Java javax.mail.internet ContentType fields, constructors, methods, implement or subclass

Example usage for Java javax.mail.internet ContentType fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.mail.internet ContentType.

The text is from its open source code.

Constructor

ContentType(String s)
Constructor that takes a Content-Type string.

Method

StringgetBaseType()
Return the MIME type string, without the parameters.
StringgetParameter(String name)
Return the specified parameter value.
StringgetPrimaryType()
Return the primary type.
StringgetSubType()
Return the subType.
booleanmatch(ContentType cType)
Match with the specified ContentType object.
booleanmatch(String s)
Match with the specified content-type string.
voidsetParameter(String name, String value)
Set the specified parameter.
StringtoString()
Retrieve a RFC2045 style string representation of this Content-Type.