Closeable, Flushable, AutoCloseable, Finalizablepublic class RunLengthEncodeOutputStream extends FilterOutputStream implements Finalizable
out| Constructor | Description |
|---|---|
RunLengthEncodeOutputStream(OutputStream out) |
| Modifier and Type | Method | 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 AutoCloseableclose in interface Closeableclose in class FilterOutputStreamIOExceptionFilterOutputStreamCopyright © 2018 Apache Software Foundation. All rights reserved.