public interface MimeUtility
| Type Params | Return Type | Name and description |
|---|---|---|
|
public java.util.List<MimeType> |
getKnownMimeTypes()Gets the known configured MimeType instances |
|
public MimeType |
getMimeTypeForExtension(java.lang.String extension)Obtains a MimeType for the given extension |
|
public 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