contentItems.setContentWriter(targetRoot, new DefaultNameGenerator(targetRoot, "index", "html"));
contentItems.setDataWriter(zipRepository.getRoot(), new DefaultNameGenerator(targetRoot, "data", "bin"));
contentItems.setUrlRewriter(new StaticURLRewriter("http://localhost:12345/content/{0}"));
final FastHtmlExportProcessor reportProcessor = new FastHtmlExportProcessor(report, contentItems);
reportProcessor.processReport();
reportProcessor.close();
out.flush();
}
}