Android Unzip File UpZip(String zipFileString, String fileString)

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

Description

Up Zip

License

Open Source License

Declaration

public static java.io.InputStream UpZip(String zipFileString,
        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 zipFileString,
            String fileString) throws Exception {
        android.util.Log.v("XZip", "UpZip(String, String)");
        java.util.zip.ZipFile zipFile = new java.util.zip.ZipFile(
                zipFileString);/*from  w w  w .  j  a v a2s  . c  o m*/
        java.util.zip.ZipEntry zipEntry = zipFile.getEntry(fileString);

        return zipFile.getInputStream(zipEntry);

    }
}

Related

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