public static void forEachEntry(final Path zipFilePath,
                                    final BiConsumer<ZipFile, ZipArchiveEntry> entryConsumer) {
        Objects.requireNonNull(entryConsumer);
        try (ZipFile zipFile = createZipFile(zipFilePath)) {
            zipFile.getEntries()
                    .asIterator()
                    .forEachRemaining(entry ->
                            entryConsumer.accept(zipFile, entry));
        } catch (IOException e) {
            throw new UncheckedIOException(LogUtil.message(
                    "Error iterating over entries in zipFilePath {}: {}",
                    zipFilePath, LogUtil.exceptionMessage(e)), e);
        }
    }
Iterate over each entry in the zip file.
stroom-util/src/main/java/stroom/util/zip/ZipUtil.java