## Uses of Class
org.silverpeas.components.gallery.constant.MediaMimeType

- Packages that use MediaMimeType
  Package | Description
  --- | ---
  org.silverpeas.components.gallery.constant |
  org.silverpeas.components.gallery.model |

- - ### Uses of MediaMimeType in org.silverpeas.components.gallery.constant

    Fields in org.silverpeas.components.gallery.constant with type parameters of type MediaMimeType
    Modifier and Type | Field | Description
    --- | --- | ---
    `static Set<MediaMimeType>` | MediaMimeType.`PHOTOS` |
    `static Set<MediaMimeType>` | MediaMimeType.`SOUNDS` |
    `static Set<MediaMimeType>` | MediaMimeType.`VIDEOS` |

    Methods in org.silverpeas.components.gallery.constant that return MediaMimeType
    Modifier and Type | Method | Description
    --- | --- | ---
    `static MediaMimeType` | MediaMimeType.`fromFile​(File file)` | Finds from the given file the corresponding `MediaMimeType`
    `static MediaMimeType` | MediaMimeType.`fromMimeType​(String mimeType)` | Gets the corresponding `MediaMimeType` of specified one as string.
    `static MediaMimeType` | MediaMimeType.`valueOf​(String name)` | Returns the enum constant of this type with the specified name.
    `static MediaMimeType[]` | MediaMimeType.`values()` | Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in org.silverpeas.components.gallery.constant that return types with arguments of type MediaMimeType
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Set<MediaMimeType>` | MediaMimeType.`getSupportedMimeTypes​(MediaType mediaType)` | Gets the supported mime types according to the given media type.

  - ### Uses of MediaMimeType in org.silverpeas.components.gallery.model

    Methods in org.silverpeas.components.gallery.model that return MediaMimeType
    Modifier and Type | Method | Description
    --- | --- | ---
    `MediaMimeType` | InternalMedia.`getFileMimeType()` |

    Methods in org.silverpeas.components.gallery.model with parameters of type MediaMimeType
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | InternalMedia.`setFileMimeType​(MediaMimeType fileMimeType)` |