Android Unzip File upZip(String zipFilePath, String fileString)

Here you can find the source of upZip(String zipFilePath, String fileString)

Description

up Zip

Declaration

public static InputStream upZip(String zipFilePath, String fileString)
        throws Exception 

Method Source Code

//package com.java2s;
import java.io.InputStream;

public class Main {

    public static InputStream upZip(String zipFilePath, String fileString)
            throws Exception {
        java.util.zip.ZipFile zipFile = new java.util.zip.ZipFile(
                zipFilePath);/*from  w ww  .j  av a  2s  .  co  m*/
        java.util.zip.ZipEntry zipEntry = zipFile.getEntry(fileString);

        return zipFile.getInputStream(zipEntry);
    }
}

Related

  1. unpackZip(String path, String zipname)
  2. unpackZip(String zipFile, String location)
  3. unzip(String[] namafileygdicrot, String zipFile, String location)
  4. unzip(String[] namafileygdicrot, String zipFile, String location)
  5. unzip(final String zipFile, String outPath)
  6. upZip(String zipFilePath, String fileString)
  7. upZipFile(File zipFile, String folderPath)
  8. upZipFile(File zipFile, String folderPath)
  9. upZipFile(File zipFile, String folderPath)