public void unzipArchive(final File archive,final File outputDir) throws IOException {
  ZipFile zipfile=new ZipFile(archive,encoding);
  for (Enumeration e=zipfile.getEntries(); e.hasMoreElements(); ) {
    final ZipArchiveEntry entry=(ZipArchiveEntry)e.nextElement();
    unzipEntry(zipfile,entry,outputDir);
  }
  zipfile.close();
}

public void unzipArchive ( final File archive , final File outputDir ) throws IOException { ZipFile zipfile = new ZipFile ( archive , encoding ) ; for ( Enumeration e = zipfile . getEntries ( ) ; e . hasMoreElements ( ) ; ) { final ZipArchiveEntry entry = ( ZipArchiveEntry ) e . nextElement ( ) ; unzipEntry ( zipfile , entry , outputDir ) ; } zipfile . close ( ) ; }
unzip archive to given folder .
