{
throw new IOException("Unable to create the data-directory.");
}
}
final FileRepository targetRepository = new FileRepository(targetDirectory);
final ContentLocation targetRoot = targetRepository.getRoot();
final FileRepository dataRepository = new FileRepository(dataDirectory);
final ContentLocation dataRoot = dataRepository.getRoot();
final String suffix = getSuffix(targetFileName);
final String filename = IOUtils.getInstance().stripFileExtension(targetFile.getName());
final FlowHtmlOutputProcessor outputProcessor = new FlowHtmlOutputProcessor(report.getConfiguration());