net.ezcontent.impl.eos
Class Image

java.lang.Object
  extended bynet.ezcontent.impl.eos.base.BaseImage
      extended bynet.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

Field Summary
 
Fields inherited from class net.ezcontent.impl.eos.base.BaseImage
 
Constructor Summary
Image()
           
Image(int imageID)
          Constructor for primary key
 
Method Summary
 InputStream getDataAsStream()
           
 byte[] getImage()
           
 String getMimeType()
           
 void setDataFromStream(InputStream stream)
           
 void setImage(byte[] data)
          Datos binarios de la imagen.
 void setMimeType(String type)
          Tipo MIME de la imagen.
 
Methods inherited from class net.ezcontent.impl.eos.base.BaseImage
equals, getBlob, getImageID, getName, getOwner, hashCode, setBlob, setImageID, setName, setOwner
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.ezcontent.document.Image
getName, setName
 

Constructor Detail

Image

public Image()

Image

public Image(int imageID)
Constructor for primary key

Method Detail

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