Finalizablepublic class RunLengthEncodeOutputStream extends java.io.FilterOutputStream implements Finalizable
| Constructor | Description |
|---|---|
RunLengthEncodeOutputStream(java.io.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) |
public RunLengthEncodeOutputStream(java.io.OutputStream out)
FilterOutputStreampublic void write(byte b)
throws java.io.IOException
java.io.IOExceptionFilterOutputStreampublic void write(byte[] b)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionFilterOutputStreampublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionFilterOutputStreampublic void finalizeStream()
throws java.io.IOException
FinalizablefinalizeStream in interface Finalizablejava.io.IOException - In case of an IO problemFinalizablepublic void close()
throws java.io.IOException
close in class java.io.FilterOutputStreamjava.io.IOExceptionFilterOutputStreamCopyright 1999-2018 The Apache Software Foundation. All Rights Reserved.