Android Unzip File UpZip(String zipFileString, String fileString)

Here you can find the source of UpZip(String zipFileString, String fileString)

Description

Up Zip

Declaration

public static java.io.InputStream UpZip(String zipFileString,
        String fileString) throws Exception 

Method Source Code

//package com.java2s;

import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;

public class Main {

    public static java.io.InputStream UpZip(String zipFileString,
            String fileString) throws Exception {
        ZipFile zipFile = new ZipFile(zipFileString);
        ZipEntry zipEntry = zipFile.getEntry(fileString);

        return zipFile.getInputStream(zipEntry);

    }/*from   ww  w  . java  2s .c  o m*/
}

Related

  1. upZipSelectedFile(File zipFile, String folderPath, String nameContains)
  2. unZip(File srcFile, File targetFile)
  3. unZip(String zipFile, String targetPath)
  4. unZip(String zipfile, String destDir)
  5. UpZip(String zipFileString, String fileString)
  6. UpZip(String zipFileString, String fileString)
  7. unzipArchive(File archive, File outputDir)
  8. UnZipFileToMem(String source)
  9. UnZipFile(String source, String targetPath)