|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.im4java.core.Stream2BufferedImage
public class Stream2BufferedImage
This helper class reads an InputStream and creates a BufferedImage.
| Field Summary | |
|---|---|
private java.awt.image.BufferedImage |
iImage
The BufferedImage. |
| Constructor Summary | |
|---|---|
Stream2BufferedImage()
The constructor |
|
| Method Summary | |
|---|---|
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 |
| Field Detail |
|---|
private java.awt.image.BufferedImage iImage
| Constructor Detail |
|---|
public Stream2BufferedImage()
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||