Package | Description |
---|---|
javax.activation |
The JavaBeans(TM) Activation Framework is used by the JavaMail(TM)
API to manage MIME data.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MimeType.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.
|
private void |
MimeType.parse(java.lang.String rawdata)
A routine for parsing the MIME type out of a String.
|
protected void |
MimeTypeParameterList.parse(java.lang.String parameterList)
A routine for parsing the parameter list out of a String.
|
void |
MimeType.setPrimaryType(java.lang.String primary)
Set the primary type for this object to the given String.
|
void |
MimeType.setSubType(java.lang.String sub)
Set the subtype for this object to the given String.
|
Constructor and Description |
---|
MimeType(java.lang.String rawdata)
Constructor that builds a MimeType from a String.
|
MimeType(java.lang.String primary,
java.lang.String sub)
Constructor that builds a MimeType with the given primary and sub type
but has an empty parameter list.
|
MimeTypeParameterList(java.lang.String parameterList)
Constructs a new MimeTypeParameterList with the passed in data.
|