Here you can find the source of uncompress(final InputStream inputStream)
Parameter | Description |
---|---|
inputStream | the zipped input. |
public static InputStream uncompress(final InputStream inputStream)
//package com.java2s; //License from project: LGPL import java.io.InputStream; import java.util.zip.InflaterInputStream; public class Main { /**//w w w . j a v a 2s . c om * Uncompress a given byte array input. * <p> * <p>The Decompression is ensured via Universal compression * algorithm (RFC 1950, RFC 1951) As specified in the EBICS * specification (16 Appendix: Standards and references) * * @param inputStream the zipped input. * @return the uncompressed data. */ public static InputStream uncompress(final InputStream inputStream) { return new InflaterInputStream(inputStream); } }