Package org.silverpeas.mobile.server.helpers

## Class MediaHelper

- java.lang.Object
- - org.silverpeas.mobile.server.helpers.MediaHelper

-     public class MediaHelper
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static String` | `DIR_UPLOAD` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `MediaHelper()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | `cleanTemporaryFiles​(String uuid)` |
    `static String` | `getTemporaryUploadMediaPath()` |
    `static File` | `optimizeVideoForWeb​(File f)` |
    `static File` | `optimizeVideoForWeb​(File f, String uuid)` |

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

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

- - ### Field Detail

    - #### DIR_UPLOAD

          public static final String DIR_UPLOAD

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### MediaHelper

          public MediaHelper()

  - ### Method Detail

    - #### optimizeVideoForWeb

          public static File optimizeVideoForWeb​(File f,
                                                 String uuid)

    - #### getTemporaryUploadMediaPath

          public static String getTemporaryUploadMediaPath()

    - #### optimizeVideoForWeb

          public static File optimizeVideoForWeb​(File f)

    - #### cleanTemporaryFiles

          public static void cleanTemporaryFiles​(String uuid)