Type | Name and description |
---|---|
java.util.List<MimeType> |
getKnownMimeTypes() Gets the known configured MimeType instances |
MimeType |
getMimeTypeForExtension(java.lang.String extension) Obtains a MimeType for the given extension |
MimeType |
getMimeTypeForURI(java.lang.String uri) Obtains a MimeType for the given extension |
Gets the known configured MimeType instances
Obtains a MimeType for the given extension
extension
- The extensionObtains a MimeType for the given extension
uri
- The URI to use