|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MimeRegistry
The MimeRegistry encodes content-type information and allows to detect or query the file type of a given content item. It also assists in naming files by providing a default suffix for a given mime-type.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |