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 booleanexist()InputStreamgetImage()booleanisImage()voidremoveImage()remove existing imagevoidsaveImage(InputStream data)In case of unit upload
-
-
-
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()
-
-