jPod PDF library

de.intarsys.pdf.filter
Class RunLengthOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by de.intarsys.pdf.filter.RunLengthOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class RunLengthOutputStream
extends FilterOutputStream

An output stream support run length encoding defined in the PDF spec.

THIS IS NOT YET TESTED


Constructor Summary
RunLengthOutputStream(OutputStream out)
           
 
Method Summary
 void close()
           
 void write(int b)
           
 
Methods inherited from class java.io.FilterOutputStream
flush, write, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunLengthOutputStream

public RunLengthOutputStream(OutputStream out)
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class FilterOutputStream
Throws:
IOException

write

public void write(int b)
           throws IOException
Overrides:
write in class FilterOutputStream
Throws:
IOException

jPod PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.