Package | Description |
---|---|
jakarta.activation |
Jakarta Activation is used by Jakarta Mail to manage MIME data.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MimeType.match(String rawdata)
Determine if the primary and sub type of this object is
the same as the content type described in rawdata.
|
protected void |
MimeTypeParameterList.parse(String parameterList)
A routine for parsing the parameter list out of a String.
|
void |
MimeType.setPrimaryType(String primary)
Set the primary type for this object to the given String.
|
void |
MimeType.setSubType(String sub)
Set the subtype for this object to the given String.
|
Constructor and Description |
---|
MimeType(String rawdata)
Constructor that builds a MimeType from a String.
|
MimeType(String primary,
String sub)
Constructor that builds a MimeType with the given primary and sub type
but has an empty parameter list.
|
MimeTypeParameterList(String parameterList)
Constructs a new MimeTypeParameterList with the passed in data.
|
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.