private void doImport(final Path zipFile,
                          final List<ImportState> confirmList,
                          final ImportSettings importSettings) {
        final Path explodeDir = workingZipDir(zipFile);
        try {
            Files.createDirectories(explodeDir);

            // Unzip the zip file.
            ZipUtil.unzip(zipFile, explodeDir);

            importExportSerializer.read(explodeDir, confirmList, importSettings);
        } catch (final IOException | RuntimeException e) {
            throw new RuntimeException(e.getMessage(), e);
        } finally {
            FileUtil.deleteDir(explodeDir);
        }
    }
Service to export standing data in and out from Stroom. It uses a ZIP format to
hold serialised Stroom content.
stroom-importexport/stroom-importexport-impl/src/main/java/stroom/importexport/impl/ImportExportServiceImpl.java