@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class CompressionOutputStream extends OutputStream
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected OutputStream |
out
The output stream to be compressed.
|
| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
CompressionOutputStream(OutputStream out)
Create a compression output stream that writes
the compressed bytes to the given stream.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
close() |
abstract void |
finish()
Finishes writing compressed data to the output stream
without closing the underlying stream.
|
void |
flush() |
abstract void |
resetState()
Reset the compression to the initial state.
|
abstract void |
write(byte[] b,
int off,
int len)
Write compressed bytes to the stream.
|
write, writeprotected final OutputStream out
protected CompressionOutputStream(OutputStream out)
out - public void close() throws IOException
close インタフェース内 Closeableclose インタフェース内 AutoCloseableclose クラス内 OutputStreamIOExceptionpublic void flush() throws IOException
flush インタフェース内 Flushableflush クラス内 OutputStreamIOExceptionpublic abstract void write(byte[] b, int off, int len) throws IOException
write クラス内 OutputStreamIOExceptionpublic abstract void finish() throws IOException
IOExceptionpublic abstract void resetState() throws IOException
IOExceptionCopyright © 2016 Apache Software Foundation. All rights reserved.