org.apache.fop.render.ps
Class ASCII85OutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byjava.io.FilterOutputStream
          extended byorg.apache.fop.render.ps.ASCII85OutputStream
All Implemented Interfaces:
Finalizable

public class ASCII85OutputStream
extends java.io.FilterOutputStream
implements Finalizable

This class applies a ASCII85 encoding to the stream.

Version:
$Id: ASCII85OutputStream.java,v 1.1.2.3 2003/04/23 20:50:04 jeremias Exp $
Author:
Jeremias Maerki

Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
ASCII85OutputStream(java.io.OutputStream out)
           
 
Method Summary
 void close()
           
 void finalizeStream()
          This method can be called instead of close() on a subclass of FilteredOutputStream when a final marker has to be written to the target stream, but close() cannot be called.
 void write(int b)
           
 
Methods inherited from class java.io.FilterOutputStream
flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASCII85OutputStream

public ASCII85OutputStream(java.io.OutputStream out)
Method Detail

write

public void write(int b)
           throws java.io.IOException
Throws:
java.io.IOException

finalizeStream

public void finalizeStream()
                    throws java.io.IOException
Description copied from interface: Finalizable
This method can be called instead of close() on a subclass of FilteredOutputStream when a final marker has to be written to the target stream, but close() cannot be called.

Specified by:
finalizeStream in interface Finalizable
Throws:
java.io.IOException - In case of an IO problem

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException


Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.