Class ImageResource
java.lang.Object
fr.paris.lutece.portal.service.image.ImageResource
- All Implemented Interfaces:
Serializable
Image resource
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getImage()Returns the ImageReturns the MimeTypevoidsetImage(byte[] strImage) Sets the ImagevoidsetMimeType(String strMimeType) Sets the MimeType
-
Constructor Details
-
ImageResource
-
ImageResource
public ImageResource()
-
-
Method Details
-
getImage
public byte[] getImage()Returns the Image- Returns:
- The Image
-
setImage
public void setImage(byte[] strImage) Sets the Image- Parameters:
strImage- The Image
-
getMimeType
Returns the MimeType- Returns:
- The MimeType
-
setMimeType
Sets the MimeType- Parameters:
strMimeType- The MimeType
-