public class ImageResource extends Object implements Serializable
| Constructor and Description |
|---|
ImageResource() |
ImageResource(File file) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getImage()
Returns the Image
|
String |
getMimeType()
Returns the MimeType
|
void |
setImage(byte[] strImage)
Sets the Image
|
void |
setMimeType(String strMimeType)
Sets the MimeType
|
public ImageResource(File file)
public ImageResource()
public byte[] getImage()
public void setImage(byte[] strImage)
strImage - The Imagepublic String getMimeType()
public void setMimeType(String strMimeType)
strMimeType - The MimeTypeCopyright © 2023 City of Paris. All rights reserved.