| Package | Description |
|---|---|
| com.phloc.commons.mime |
| Modifier and Type | Method and Description |
|---|---|
MimeType |
MimeType.addParameter(MimeTypeParameter aParameter)
Add a parameter.
|
MimeType |
MimeType.addParameter(String sAttribute,
String sValue)
Add a parameter.
|
MimeType |
EMimeContentType.buildMimeType(String sContentSubType)
Build a new
MimeType based on this MIME content type and the
provided sub type. |
MimeType |
MimeType.getClone() |
MimeType |
MimeType.getCopyWithoutParameters() |
static MimeType |
MimeTypeDeterminator.getMimeTypeObjectFromExtension(String sExtension)
Get the MIME type object from the passed filename extension.
|
static MimeType |
MimeTypeDeterminator.getMimeTypeObjectFromFilename(String sFilename)
Get the MIME type object from the extension of the passed filename.
|
static MimeType |
MimeTypeParser.parseMimeType(String sMimeType)
Try to convert the string representation of a MIME type to an object.
|
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)
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.