Package rife.cmf
Class MimeTypeFormatter
java.lang.Object
rife.cmf.MimeTypeFormatter
Returns appropriate formatter instances for supported CMF mime types.
- Since:
- 1.7
-
Method Summary
Modifier and TypeMethodDescriptionstatic Formatter
getFormatter
(MimeType mimeType) Returns an instance of the formatter for the provided mime type.
-
Method Details
-
getFormatter
Returns an instance of the formatter for the provided mime type.- Parameters:
mimeType
- the mime type for which a formatter should be instantiated- Returns:
- and appropriate formatter instance; or
null
if no formatter could be created - Since:
- 1.7
-