public class ASCIIHexOutputStream extends FilterOutputStream implements Finalizable
out
Constructor and Description |
---|
ASCIIHexOutputStream(OutputStream out) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
finalizeStream()
This method can be called instead of close() on a subclass of
FilteredOutputStream when a final marker has to be written to the target
stream, but close() cannot be called.
|
void |
write(int b) |
flush, write, write
public ASCIIHexOutputStream(OutputStream out)
FilterOutputStream
public void write(int b) throws IOException
write
in class FilterOutputStream
IOException
FilterOutputStream
public void finalizeStream() throws IOException
Finalizable
finalizeStream
in interface Finalizable
IOException
- In case of an IO problemFinalizable
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
IOException
FilterOutputStream
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.