Class CompressionUtil


  • public class CompressionUtil
    extends Object
    • Constructor Detail

      • CompressionUtil

        public CompressionUtil()
    • Method Detail

      • getCompressedStream

        public InputStream getCompressedStream​(InputStream sourceStream)
                                        throws IOException
        Gets Compressed Stream for given input Stream
        Parameters:
        sourceStream - : Input Stream to be compressed to
        Returns:
        Compressed Stream
        Throws:
        IOException - when some thing bad happens