| Package | Description |
|---|---|
| com.phloc.commons.mime |
| Modifier and Type | Field and Description |
|---|---|
static EMimeQuoting |
CMimeType.DEFAULT_QUOTING
The default quoting algorithm to be used:
QUOTED_STRING |
| Modifier and Type | Method and Description |
|---|---|
static EMimeQuoting |
EMimeQuoting.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EMimeQuoting[] |
EMimeQuoting.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
String |
MimeType.getAsString(EMimeQuoting eQuotingAlgorithm) |
String |
IMimeType.getAsString(EMimeQuoting eQuotingAlgorithm)
Get the MIME type including all parameters as a single string.
|
String |
MimeType.getParametersAsString(EMimeQuoting eQuotingAlgorithm) |
String |
IMimeType.getParametersAsString(EMimeQuoting eQuotingAlgorithm)
Get all MIME type parameters as a single string but without the leading
content and sub type.
|
String |
MimeTypeParameter.getValueQuotedIfNecessary(EMimeQuoting eQuotingAlgorithm) |
static MimeType |
MimeTypeParser.parseMimeType(String sMimeType,
EMimeQuoting eQuotingAlgorithm)
Try to convert the string representation of a MIME type to an object.
|
static MimeType |
MimeTypeParser.safeParseMimeType(String sMimeType,
EMimeQuoting eQuotingAlgorithm)
Try to convert the string representation of a MIME type to an object.
|
Copyright © 2006–2015 phloc systems. All rights reserved.