Here you can find the source of upZip(String zipFilePath, String fileString)
public static InputStream upZip(String zipFilePath, String fileString) throws Exception
//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); } }