org.freehep.util.io
Class ASCIIHexOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASCIIHexOutputStream
public ASCIIHexOutputStream(OutputStream out)
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
Copyright © 2000-2004 FreeHEP, All Rights Reserved.