public interface MimeTypeResolver
Modifier and Type | Method and Description |
---|---|
String |
getFileExtensionForMimeType(String contentType)
Gets the file extension for the specific mime type.
|
String |
getMimeTypeForFileExtension(String fileExtension)
Gets the mime type for the specified file extension.
|
String |
getName()
Gets the name of the MimeTypeResolver.
|
int |
getPriority()
Gets the priority of the MimeTypeResolver.
|
String |
getSchema()
Gets the schema (if one exists) of the MimeTypeResolver.
|
boolean |
hasSchema()
Returns true if the MimeTypeResolver has a schema, meaning it is for text/xml mime types and
has a namespace to match on.
|
String getName()
String getSchema()
boolean hasSchema()
int getPriority()
String getFileExtensionForMimeType(String contentType)
contentType
- the mime typeThis work is licensed under a Creative Commons Attribution 4.0 International License.