| Modifier and Type | Field and Description |
|---|---|
| private final AbstractStreamBridge | |
| private boolean | |
| private final OutputStream | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public | Pack200CompressorOutputStream(final OutputStream
the stream to write to out)Compresses the given stream, caching the compressed data in memory. |
| public | Pack200CompressorOutputStream(final OutputStream
the stream to write to out, final Map<String, String> Pack200 properties to use props)Compresses the given stream, caching the compressed data in memory and using the given properties. |
| public | Pack200CompressorOutputStream(final OutputStream
the stream to write to out, final Pack200Strategy the strategy to use mode)Compresses the given stream using the given strategy to cache the results. |
| public | Pack200CompressorOutputStream(final OutputStream
the stream to write to out, final Pack200Strategy the strategy to use mode, final Map<String, String> Pack200 properties to use props)Compresses the given stream using the given strategy to cache the results and the given properties. |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. |
| public void | |
| public void | write(final byte[]
the data. b)Overrides java. b.length bytes from the specified byte array
to this output stream.
|
| public void | write(final byte[]
the data. b, final int the start offset in the data. from, final int the number of bytes to write. length)Overrides java. len bytes from the specified byte array
starting at offset off to this output stream.
|
| public void | write(final int
the b)byte.Implements abstract java. |
| abstractStreamBridge | back to summary |
|---|---|
| private final AbstractStreamBridge abstractStreamBridge | |
| finished | back to summary |
|---|---|
| private boolean finished | |
| originalOutput | back to summary |
|---|---|
| private final OutputStream originalOutput | |
| properties | back to summary |
|---|---|
| private final Map<String, String> properties | |
| Pack200CompressorOutputStream | back to summary |
|---|---|
| public Pack200CompressorOutputStream(final OutputStream out) throws IOException Compresses the given stream, caching the compressed data in memory.
| |
| Pack200CompressorOutputStream | back to summary |
|---|---|
| public Pack200CompressorOutputStream(final OutputStream out, final Map<String, String> props) throws IOException Compresses the given stream, caching the compressed data in memory and using the given properties.
| |
| Pack200CompressorOutputStream | back to summary |
|---|---|
| public Pack200CompressorOutputStream(final OutputStream out, final Pack200Strategy mode) throws IOException Compresses the given stream using the given strategy to cache the results.
| |
| Pack200CompressorOutputStream | back to summary |
|---|---|
| public Pack200CompressorOutputStream(final OutputStream out, final Pack200Strategy mode, final Map<String, String> props) throws IOException Compresses the given stream using the given strategy to cache the results and the given properties.
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this output stream and releases any system resources
associated with this stream. The general contract of
| |
| finish | back to summary |
|---|---|
| public void finish() throws IOException | |
| write | back to summary |
|---|---|
| public void write(final byte[] b) throws IOException Overrides java. Doc from java. Writes
| |
| write | back to summary |
|---|---|
| public void write(final byte[] b, final int from, final int length) throws IOException Overrides java. Doc from java. Writes
If
If
| |
| write | back to summary |
|---|---|
| public void write(final int b) throws IOException Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |