Class Picture


  • public class Picture
    extends java.lang.Object
    Author:
    Tom Baeyens
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected byte[] bytes  
      protected java.lang.String mimeType  
    • Constructor Summary

      Constructors 
      Constructor Description
      Picture​(byte[] bytes, java.lang.String mimeType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getBytes()  
      java.io.InputStream getInputStream()  
      java.lang.String getMimeType()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • bytes

        protected byte[] bytes
      • mimeType

        protected java.lang.String mimeType
    • Constructor Detail

      • Picture

        public Picture​(byte[] bytes,
                       java.lang.String mimeType)
    • Method Detail

      • getBytes

        public byte[] getBytes()
      • getInputStream

        public java.io.InputStream getInputStream()
      • getMimeType

        public java.lang.String getMimeType()