OutputConsumerpublic class Stream2BufferedImage extends java.lang.Object implements OutputConsumer
| Constructor | Description |
|---|---|
Stream2BufferedImage() |
The constructor
|
| 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.
|
public void consumeOutput(java.io.InputStream pInputStream)
throws java.io.IOException
consumeOutput in interface OutputConsumerjava.io.IOExceptionOutputConsumer.consumeOutput(java.io.InputStream)public java.awt.image.BufferedImage getImage()