Package | Description |
---|---|
javax.activation |
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.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.