FreeHEP API
Version current

org.freehep.util.io
Class ASCIIHexOutputStream

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

public class ASCIIHexOutputStream
extends FilterOutputStream
implements FinishableOutputStream

The ASCIIHexOutputStream encodes binary data as ASCII Hexadecimal. The exact definition of ASCII Hex encoding can be found in the PostScript Language Reference (3rd ed.) chapter 3.13.3.

Version:
$Id: ASCIIHexOutputStream.java,v 1.2 2002/02/27 22:05:06 duns Exp $
Author:
Mark Donszelmann
Source Code:
ASCIIHexOutputStream.java

Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
ASCIIHexOutputStream(OutputStream out)
           
 
Method Summary
 void close()
           
 void finish()
           
 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

ASCIIHexOutputStream

public ASCIIHexOutputStream(OutputStream out)
Method Detail

write

public void write(int b)
           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.