de.intarsys.tools.stream
Class HexDumpStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
de.intarsys.tools.stream.HexDumpStream
- All Implemented Interfaces:
- Closeable, Flushable
public class HexDumpStream
- extends FilterOutputStream
A stream object dumping its data in hex format.
Method Summary |
void |
flush()
|
void |
write(byte[] b)
|
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
HexDumpStream
public HexDumpStream(OutputStream out)
- Creates a new HexOutputStream.
- Parameters:
out
- The input stream.
flush
public void flush()
throws IOException
- Specified by:
flush
in interface Flushable
- Overrides:
flush
in class FilterOutputStream
- Throws:
IOException
write
public void write(byte[] b)
throws IOException
- Overrides:
write
in class FilterOutputStream
- Throws:
IOException
write
public void write(byte[] b,
int off,
int len)
throws IOException
- Overrides:
write
in class FilterOutputStream
- Throws:
IOException
write
public void write(int b)
throws IOException
- Overrides:
write
in class FilterOutputStream
- Throws:
IOException
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.