public class Stream2BufferedImage extends Object implements OutputConsumer
| Constructor and Description |
|---|
Stream2BufferedImage()
The constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
consumeOutput(InputStream pInputStream)
Read the output of the command and create a BufferedImage
|
BufferedImage |
getImage()
Return the BufferedImage.
|
public void consumeOutput(InputStream pInputStream) throws IOException
consumeOutput in interface OutputConsumerIOExceptionOutputConsumer.consumeOutput(java.io.InputStream)public BufferedImage getImage()
Copyright © 2019. All rights reserved.