public interface MimeRegistry
Modifier and Type | Method and Description |
---|---|
String |
getMimeType(ContentItem item)
Queries the mime-type for a given content-item.
|
String |
getSuffix(String mimeType)
Returns the default suffix for files with the given content type.
|
String getMimeType(ContentItem item)
item
- the content item for which Mime-Data should be queried.