public interface ICompressor
| Modifier and Type | Method and Description |
|---|---|
byte[] |
compress(String data,
byte[] uploadFile)
Method to compress the given data using the corresponding implementation algorithm.
|
OutputStream |
decompress(InputStream in)
Method to decompress the given data using the corresponding implementation algorithm.
|
byte[] compress(String data, byte[] uploadFile) throws CompressionException
data - the input stringuploadFile - the content of the file to upload in InputStreamCompressionException - the compression exceptionOutputStream decompress(InputStream in) throws CompressionException
in - the input streamCompressionException - the compression exceptionCopyright © 2017. All rights reserved.