com.comtrade.ecm.engine.io.mime

## Class MimeTypeUtils

- java.lang.Object
- - com.comtrade.ecm.engine.io.mime.MimeTypeUtils

-     public class MimeTypeUtils
      extends java.lang.Object

  MIME : Multipurpose Internet Mail Extensions

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String` | `getMimeTypeByExtension(java.lang.String extension)`
    `static java.lang.String` | `getTypeExtension(java.lang.String mimeTypeDescription)`
    `static boolean` | `isMimeTypeImage(java.lang.String mimeTypeDescription)`
    `static boolean` | `isMimeTypePdf(java.lang.String mimeTypeDescription)`
    `static boolean` | `isMimeTypeWordDocument(java.lang.String mimeTypeDescription)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getTypeExtension

          public static java.lang.String getTypeExtension(java.lang.String mimeTypeDescription)
                                                   throws UnknownMimeTypeException

      Throws:
        `UnknownMimeTypeException`

    - #### getMimeTypeByExtension

          public static java.lang.String getMimeTypeByExtension(java.lang.String extension)

    - #### isMimeTypeImage

          public static boolean isMimeTypeImage(java.lang.String mimeTypeDescription)

    - #### isMimeTypePdf

          public static boolean isMimeTypePdf(java.lang.String mimeTypeDescription)

    - #### isMimeTypeWordDocument

          public static boolean isMimeTypeWordDocument(java.lang.String mimeTypeDescription)