private void unZipFile(final ZipFile zipFile, final ZipArchiveEntry entry, final String targetDir) throws Exception {
        final File targetFile = new File(Paths.get(targetDir, entry.getName()).toString());
        FileUtils.forceMkdir(targetFile.getParentFile());
        try (final InputStream is = zipFile.getInputStream(entry);
                final BufferedInputStream fis = new BufferedInputStream(is);
                final BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(targetFile))) {
            IOUtils.copy(fis, bos);
        }
    }
Unzip the archive entry to targetDir
jraft-rheakv/rheakv-core/src/main/java/com/alipay/sofa/jraft/rhea/storage/zip/ParallelZipStrategy.java