public interface OutputCompressor
Modifier and Type | Method and Description |
---|---|
AlgorithmIdentifier |
getAlgorithmIdentifier()
Return the algorithm identifier describing the compression
algorithm and parameters this compressor uses.
|
OutputStream |
getOutputStream(OutputStream comOut)
Wrap the passed in output stream comOut, returning an output stream
that compresses anything passed in before sending on to comOut.
|
AlgorithmIdentifier getAlgorithmIdentifier()
OutputStream getOutputStream(OutputStream comOut)
comOut
- output stream for compressed output.Copyright © 2015. All rights reserved.