Class ImageResource

  • All Implemented Interfaces:
    java.io.Serializable

    public class ImageResource
    extends java.lang.Object
    implements java.io.Serializable
    Image resource
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getImage()
      Returns the Image
      java.lang.String getMimeType()
      Returns the MimeType
      void setImage​(byte[] strImage)
      Sets the Image
      void setMimeType​(java.lang.String strMimeType)
      Sets the MimeType
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImageResource

        public ImageResource​(File file)
      • ImageResource

        public ImageResource()
    • Method Detail

      • getImage

        public byte[] getImage()
        Returns the Image
        Returns:
        The Image
      • setImage

        public void setImage​(byte[] strImage)
        Sets the Image
        Parameters:
        strImage - The Image
      • getMimeType

        public java.lang.String getMimeType()
        Returns the MimeType
        Returns:
        The MimeType
      • setMimeType

        public void setMimeType​(java.lang.String strMimeType)
        Sets the MimeType
        Parameters:
        strMimeType - The MimeType