class MailMimeType
extends java.lang.Object
MailReadHelper| Modifier and Type | Field and Description | 
|---|---|
private javax.activation.MimeType | 
mimeType  | 
static MailMimeType | 
MULTIPART  | 
static MailMimeType | 
MULTIPART_ALTERNATIVE  | 
static MailMimeType | 
MULTIPART_MIXED  | 
static MailMimeType | 
MULTIPART_RELATED  | 
static MailMimeType | 
TEXT  | 
static MailMimeType | 
TEXT_HTML  | 
static MailMimeType | 
TEXT_PLAIN  | 
| Constructor and Description | 
|---|
MailMimeType(java.lang.String rawdata)
Creates a new instance of MimeType. 
 | 
MailMimeType(java.lang.String primaryType,  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getBaseType()  | 
java.lang.String | 
getParameter(java.lang.String name)  | 
java.lang.String | 
getPrimaryType()  | 
java.lang.String | 
getSubType()  | 
boolean | 
match(MailMimeType type)
Determine if the primary and sub type of this object is
 the same as what is in the given type. 
 | 
boolean | 
match(java.lang.String rawdata)
Determine if the primary and sub type of this object is
 the same as the content type described in rawdata. 
 | 
java.lang.String | 
toString()  | 
aRawdata - javax.activation.MimeTypeParseExceptiontype - the MailMimeType object to compare withrawdata - the MIME type string to compare withtoString in class java.lang.Object