Java Ungzip File ungzip(InputStream ins)

Here you can find the source of ungzip(InputStream ins)

Description

ungzip

License

Open Source License

Declaration

public static InputStream ungzip(InputStream ins) throws IOException 

Method Source Code

//package com.java2s;
/*******************************************************************************
 * Copyright (c) 2014,2015 Hideki Yatomi
 * All rights reserved. This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License v1.0 which
 * accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 ******************************************************************************/

import java.io.*;

import java.util.zip.*;

public class Main {
    public static InputStream ungzip(InputStream ins) throws IOException {
        return new GZIPInputStream(ins);
    }/* ww  w.ja  va 2s .  com*/
}

Related

  1. ungzip(File gzip, File toDir)
  2. unGzip(File inFile, File outFile)
  3. unGzip(File sourceZipFile, String destFolder, String destFile)
  4. unGzip(final File compressedInputFile, final File outputDir)
  5. unGzip(final File inputFile, final File outputDir)
  6. ungzip(String gzipFile, String newFile)
  7. ungzipFile(String inputFileName, String outputFileName)