public class ASCIIHexOutputStream extends FilterOutputStream implements FinishableOutputStream
out
Constructor and Description |
---|
ASCIIHexOutputStream(OutputStream out)
Create an ASCIIHex Output Stream for given stream.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
finish()
Finishes the current outputstream (compresses, flushes, caluclates CRC)
and writes whatever is left in the buffers, but does not close the
stream.
|
void |
write(int b) |
flush, write, write
public ASCIIHexOutputStream(OutputStream out)
out
- output stream to usepublic void write(int b) throws IOException
write
in class FilterOutputStream
IOException
public void finish() throws IOException
FinishableOutputStream
finish
in interface FinishableOutputStream
IOException
- if write failspublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
IOException
Copyright © 2016. All rights reserved.