Package org.silverpeas.mobile.server.helpers

## Class DataURLHelper

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

-     public class DataURLHelper
      extends Object

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static String` | `convertAvatarToUrlData​(String photoFileName, String size)` | Return avatar dataurl
    `static String` | `convertPictureToUrlData​(String path, String fileName, String size)` |
    `static File` | `createPictureFromUrlData​(String data, String id)` |

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

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

- - ### Constructor Detail

    - #### DataURLHelper

          public DataURLHelper()

  - ### Method Detail

    - #### convertAvatarToUrlData

          public static String convertAvatarToUrlData​(String photoFileName,
                                                      String size)

      Return avatar dataurl
      Parameters:
        `photoFileName` -
      Returns:

    - #### createPictureFromUrlData

          public static File createPictureFromUrlData​(String data,
                                                      String id)
                                               throws Exception

      Throws:
        `Exception`

    - #### convertPictureToUrlData

          public static String convertPictureToUrlData​(String path,
                                                       String fileName,
                                                       String size)