Package org.silverpeas.mobile.server.helpers

## Class ImageProfil

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

-     public class ImageProfil
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ImageProfil​(String photo)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `exist()` |
    `InputStream` | `getImage()` |
    `boolean` | `isImage()` |
    `void` | `removeImage()` | remove existing image
    `void` | `saveImage​(InputStream data)` | In case of unit upload

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

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

- - ### Constructor Detail

    - #### ImageProfil

          public ImageProfil​(String photo)

  - ### Method Detail

    - #### isImage

          public boolean isImage()

    - #### saveImage

          public void saveImage​(InputStream data)
                         throws IOException

      In case of unit upload
      Parameters:
        `data` -
      Throws:
        `IOException`

    - #### removeImage

          public void removeImage()

      remove existing image

    - #### getImage

          public InputStream getImage()
                               throws IOException

      Throws:
        `IOException`

    - #### exist

          public boolean exist()