code: public static void uncompressEveryFileFromDirectory(File srcPath, File dstPath) throws IOException
     {
        if (srcPath.isDirectory())
        {
           if (!dstPath.exists())
           {
              dstPath.mkdirs();
           }
  
           String files[] = srcPath.list();
           for (int i = 0; i < files.length; i++)
           {
              uncompressEveryFileFromDirectory(new File(srcPath, files[i]), new File(dstPath, files[i]));
           }
        }
        else
        {
           ZipInputStream in = null;
           OutputStream out = null;
  
           try
           {
              in = new ZipInputStream(new FileInputStream(srcPath));
              in.getNextEntry();
  
              out = new FileOutputStream(dstPath);
  
              transfer(in, out);
           }
           finally
           {
              if (in != null)
              {
                 in.close();
              }
  
              if (out != null)
              {
                 out.close();
              }
           }
        }
     }
docs: Uncompress data to the destination directory.
  
  @param srcPath
  path to the compressed file, could be the file or the directory
  @param dstPath
  destination path
  @throws IOException
  if any exception occurred