Android Unzip File upZip(String zipFilePath, String fileString)

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

Description

up Zip

License

Open Source License

Declaration

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

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {

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

        return zipFile.getInputStream(zipEntry);

    }
}

Related

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