public class ZlibCompressor
extends java.lang.Object
implements org.bouncycastle.operator.OutputCompressor
| Constructor and Description |
|---|
ZlibCompressor() |
| Modifier and Type | Method and Description |
|---|---|
AlgorithmIdentifier |
getAlgorithmIdentifier()
Return the algorithm identifier describing the compression
algorithm and parameters this compressor uses.
|
java.io.OutputStream |
getOutputStream(java.io.OutputStream comOut)
Wrap the passed in output stream comOut, returning an output stream
that compresses anything passed in before sending on to comOut.
|
public AlgorithmIdentifier getAlgorithmIdentifier()
org.bouncycastle.operator.OutputCompressorgetAlgorithmIdentifier in interface org.bouncycastle.operator.OutputCompressorpublic java.io.OutputStream getOutputStream(java.io.OutputStream comOut)
org.bouncycastle.operator.OutputCompressorgetOutputStream in interface org.bouncycastle.operator.OutputCompressorcomOut - output stream for compressed output.