com.silverpeas.directory.servlets
Class ImageProfil

java.lang.Object
  extended by com.silverpeas.directory.servlets.ImageProfil

public class ImageProfil
extends Object


Constructor Summary
ImageProfil(String photo)
           
 
Method Summary
 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


Copyright © 2016 Silverpeas. All Rights Reserved.