FreeHEP API
Version current

org.freehep.util.io
Class ASCII85OutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byjava.io.FilterOutputStream
          extended byorg.freehep.util.io.ASCII85OutputStream
All Implemented Interfaces:
ASCII85, FinishableOutputStream

public class ASCII85OutputStream
extends FilterOutputStream
implements ASCII85, FinishableOutputStream

The ASCII85InputStream encodes binary data as ASCII base-85 encoding. The exact definition of ASCII base-85 encoding can be found in the PostScript Language Reference (3rd ed.) chapter 3.13.3.

Version:
$Id: ASCII85OutputStream.java,v 1.4 2003/04/13 05:34:45 duns Exp $
Author:
Mark Donszelmann
Source Code:
ASCII85OutputStream.java

Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Fields inherited from interface org.freehep.util.io.ASCII85
a85p1, a85p2, a85p3, a85p4, MAX_CHARS_PER_LINE
 
Constructor Summary
ASCII85OutputStream(OutputStream out)
           
 
Method Summary
 void close()
           
 void finish()
           
 void write(int a)
           
 
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(OutputStream out)
Method Detail

write

public void write(int a)
           throws IOException
Throws:
IOException

finish

public void finish()
            throws IOException
Specified by:
finish in interface FinishableOutputStream
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.