OutputCompressor
public class ZlibCompressor extends java.lang.Object implements OutputCompressor
Constructor | Description |
---|---|
ZlibCompressor() |
Modifier and Type | Method | Description |
---|---|---|
org.bouncycastle.asn1.x509.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 org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier()
OutputCompressor
getAlgorithmIdentifier
in interface OutputCompressor
public java.io.OutputStream getOutputStream(java.io.OutputStream comOut)
OutputCompressor
getOutputStream
in interface OutputCompressor
comOut
- output stream for compressed output.