Class Stream2BufferedImage

  • All Implemented Interfaces:
    OutputConsumer

    public class Stream2BufferedImage
    extends java.lang.Object
    implements OutputConsumer
    This helper class reads an InputStream and creates a BufferedImage.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void consumeOutput​(java.io.InputStream pInputStream)
      Read the output of the command and create a BufferedImage
      java.awt.image.BufferedImage getImage()
      Return the BufferedImage.
      • Methods inherited from class java.lang.Object

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

      • Stream2BufferedImage

        public Stream2BufferedImage()
        The constructor
    • Method Detail

      • getImage

        public java.awt.image.BufferedImage getImage()
        Return the BufferedImage.