net.ezcontent.impl.eos
Class Image
java.lang.Object
net.ezcontent.impl.eos.base.BaseImage
net.ezcontent.impl.eos.Image
- All Implemented Interfaces:
- Image, Serializable
- public class Image
- extends BaseImage
- implements Image
This is the object class that relates to the Image table.
Any customizations belong here.
Implementa Image
- See Also:
Image
,
Serialized Form
Fields inherited from class net.ezcontent.impl.eos.base.BaseImage |
|
Constructor Summary |
Image()
|
Image(int imageID)
Constructor for primary key |
Image
public Image()
Image
public Image(int imageID)
- Constructor for primary key
setImage
public void setImage(byte[] data)
- Description copied from interface:
Image
- Datos binarios de la imagen.
- Specified by:
setImage
in interface Image
getImage
public byte[] getImage()
- Specified by:
getImage
in interface Image
setDataFromStream
public void setDataFromStream(InputStream stream)
throws IOException
- Specified by:
setDataFromStream
in interface Image
- Throws:
IOException
getDataAsStream
public InputStream getDataAsStream()
- Specified by:
getDataAsStream
in interface Image
setMimeType
public void setMimeType(String type)
- Description copied from interface:
Image
- Tipo MIME de la imagen.
- Specified by:
setMimeType
in interface Image
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in interface Image