Package rife.cmf

Class MimeTypeFormatter

java.lang.Object
rife.cmf.MimeTypeFormatter

public final class MimeTypeFormatter extends Object
Returns appropriate formatter instances for supported CMF mime types.
Since:
1.7
  • Method Details

    • getFormatter

      public static Formatter getFormatter(MimeType mimeType)
      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