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