Class InputStreamImageSource

  • All Implemented Interfaces:
    ImageSource

    public class InputStreamImageSource
    extends java.lang.Object
    implements ImageSource
    • Constructor Summary

      Constructors 
      Constructor Description
      InputStreamImageSource​(java.io.InputStream stream)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] read()  
      • Methods inherited from class java.lang.Object

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

      • InputStreamImageSource

        public InputStreamImageSource​(java.io.InputStream stream)
                               throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • read

        public byte[] read()
                    throws java.io.IOException
        Specified by:
        read in interface ImageSource
        Throws:
        java.io.IOException