| Modifier and Type | Field and Description |
|---|---|
| private final Check | |
| private final long | |
| private FinishableOutputStream | |
| private final int | |
| private final OutputStream | |
| private final CountingOutputStream | |
| private final byte[] | |
| private long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | finish()
Overrides org. |
| public void | flush()
Overrides java. Implements java. |
| public long | |
| public long | |
| private void | |
| public void | write(int
the b)byte.Implements abstract java. |
| public void | write(byte[]
the data. buf, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. len bytes from the specified byte array
starting at offset off to this output stream.
|
| check | back to summary |
|---|---|
| private final Check check | |
| compressedSizeLimit | back to summary |
|---|---|
| private final long compressedSizeLimit | |
| filterChain | back to summary |
|---|---|
| private FinishableOutputStream filterChain | |
| headerSize | back to summary |
|---|---|
| private final int headerSize | |
| out | back to summary |
|---|---|
| private final OutputStream out | |
| outCounted | back to summary |
|---|---|
| private final CountingOutputStream outCounted | |
| tempBuf | back to summary |
|---|---|
| private final byte[] tempBuf | |
| uncompressedSize | back to summary |
|---|---|
| private long uncompressedSize | |
| BlockOutputStream | back to summary |
|---|---|
| public BlockOutputStream(OutputStream out, FilterEncoder[] filters, Check check, ArrayCache arrayCache) throws IOException | |
| finish | back to summary |
|---|---|
| public void finish() throws IOException Overrides org. Doc from org. Finish the stream without closing the underlying stream. No more data may be written to the stream after finishing.
The | |
| flush | back to summary |
|---|---|
| public void flush() throws IOException Overrides java. Implements java. Doc from java. Flushes this output stream and forces any buffered output bytes
to be written out. The general contract of If the intended destination of this stream is an abstraction provided by the underlying operating system, for example a file, then flushing the stream guarantees only that bytes previously written to the stream are passed to the operating system for writing; it does not guarantee that they are actually written to a physical device such as a disk drive.
| |
| getUncompressedSize | back to summary |
|---|---|
| public long getUncompressedSize() | |
| getUnpaddedSize | back to summary |
|---|---|
| public long getUnpaddedSize() | |
| validate | back to summary |
|---|---|
| private void validate() throws IOException | |
| write | back to summary |
|---|---|
| public void write(int b) throws IOException Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |
| write | back to summary |
|---|---|
| public void write(byte[] buf, int off, int len) throws IOException Overrides java. Doc from java. Writes
If
If
| |