|
The im4java Library, Version 1.4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.im4java.core.Stream2BufferedImage
public class Stream2BufferedImage
This helper class reads an InputStream and creates a 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 |
Constructor Detail |
---|
public Stream2BufferedImage()
Method Detail |
---|
public void consumeOutput(java.io.InputStream pInputStream) throws java.io.IOException
consumeOutput
in interface OutputConsumer
java.io.IOException
OutputConsumer.consumeOutput(java.io.InputStream)
public java.awt.image.BufferedImage getImage()
|
The im4java Library, Version 1.4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |