public class RunLengthEncodeOutputStream extends FilterOutputStream implements Finalizable
out| Constructor and Description |
|---|
RunLengthEncodeOutputStream(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(byte b) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
flush, writepublic RunLengthEncodeOutputStream(OutputStream out)
FilterOutputStreampublic void write(byte b)
throws IOException
IOExceptionFilterOutputStreampublic void write(byte[] b)
throws IOException
write in class FilterOutputStreamIOExceptionFilterOutputStreampublic void write(byte[] b,
int off,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionFilterOutputStreampublic void finalizeStream()
throws IOException
FinalizablefinalizeStream in interface FinalizableIOException - In case of an IO problemFinalizablepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreamIOExceptionFilterOutputStreamCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.