List of utility methods to do Unzip Folder
void | unZipFolder(InputStream zipFileStream, String outPathString) un Zip Folder ZipInputStream inZip = null; FileOutputStream out = null; try { inZip = new ZipInputStream(zipFileStream); ZipEntry zipEntry; String szName = ""; while ((zipEntry = inZip.getNextEntry()) != null) { szName = zipEntry.getName(); ... |
void | unZipFolder(InputStream zipFileStream, String outPathString) un Zip Folder ZipInputStream inZip = null; FileOutputStream out = null; try { inZip = new ZipInputStream(zipFileStream); ZipEntry zipEntry; String szName = ""; while ((zipEntry = inZip.getNextEntry()) != null) { szName = zipEntry.getName(); ... |
void | unZipNoDirs(String file, String destinationDirectory) extracts a zip archive. final int BUFFER = 2048; BufferedOutputStream dest = null; FileInputStream fis = new FileInputStream(file); ZipInputStream zis = new ZipInputStream( new BufferedInputStream(fis)); ZipEntry entry; while ((entry = zis.getNextEntry()) != null) { int count; ... |