org.yajul.io
Class HexEncodingOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by org.yajul.io.HexEncodingOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable
Direct Known Subclasses:
HexDumpOutputStream

public class HexEncodingOutputStream
extends java.io.FilterOutputStream

Encodes the input in hexadecimal form. User: josh Date: Jan 23, 2004 Time: 9:20:13 AM


Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
HexEncodingOutputStream(java.io.OutputStream out)
           
 
Method Summary
 void write(int b)
           
protected  void writeHex(int b)
           
 
Methods inherited from class java.io.FilterOutputStream
close, flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HexEncodingOutputStream

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

write

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

writeHex

protected void writeHex(int b)
                 throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2008. All Rights Reserved.