public class PDFCCITTFaxProducer
extends java.io.OutputStream
implements java.awt.image.ImageProducer
| Constructor and Description |
|---|
PDFCCITTFaxProducer(RBCodecCCITTFaxDecode decoder)
Create a new image producer for the codec.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConsumer(java.awt.image.ImageConsumer ic)
ImageProducer method - add a new consumer
|
void |
flush() |
RBCodecCCITTFaxDecode |
getCodec()
returns the decoder, should you need it.
|
boolean |
isConsumer(java.awt.image.ImageConsumer ic)
ImageProducer method - check to see if we are sending bits to ic
|
void |
produce()
The blood & guts
|
void |
removeConsumer(java.awt.image.ImageConsumer ic)
ImageProducer method
|
void |
requestTopDownLeftRightResend(java.awt.image.ImageConsumer ic)
ImageProducer method - send all the bits to the given consumer
|
void |
startProduction(java.awt.image.ImageConsumer ic)
ImageProducer method - kicks things off.
|
void |
write(byte[] b) |
void |
write(int b) |
public PDFCCITTFaxProducer(RBCodecCCITTFaxDecode decoder)
public void addConsumer(java.awt.image.ImageConsumer ic)
addConsumer in interface java.awt.image.ImageProducerpublic boolean isConsumer(java.awt.image.ImageConsumer ic)
isConsumer in interface java.awt.image.ImageProducerpublic void removeConsumer(java.awt.image.ImageConsumer ic)
removeConsumer in interface java.awt.image.ImageProducerpublic void startProduction(java.awt.image.ImageConsumer ic)
startProduction in interface java.awt.image.ImageProducerpublic void requestTopDownLeftRightResend(java.awt.image.ImageConsumer ic)
requestTopDownLeftRightResend in interface java.awt.image.ImageProducerpublic void produce()
public RBCodecCCITTFaxDecode getCodec()
public void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOException