19 package org.sleuthkit.autopsy.timeline.snapshot;
21 import java.awt.image.BufferedImage;
22 import java.io.IOException;
23 import java.nio.file.Path;
24 import java.util.Date;
25 import java.util.HashMap;
26 import javax.imageio.ImageIO;
27 import org.joda.time.format.DateTimeFormat;
38 private final BufferedImage
image;
54 super(currentCase, reportFolderPath, reportName, generationDate);
56 this.image = snapshot;
71 HashMap<String, Object> snapShotContext =
new HashMap<>();
73 snapShotContext.put(
"startTime", zoomParams.
getTimeRange().getStart().toString(DateTimeFormat.fullDateTime()));
74 snapShotContext.put(
"endTime", zoomParams.
getTimeRange().getEnd().toString(DateTimeFormat.fullDateTime()));
75 snapShotContext.put(
"zoomParams", zoomParams);
final ZoomParams zoomParams
Path getReportFolderPath()
final BufferedImage image
void fillTemplateAndWrite(final String templateLocation, final String templateName, Object context, final Path outPutFile)
SnapShotReportWriter(Case currentCase, Path reportFolderPath, String reportName, ZoomParams zoomParams, Date generationDate, BufferedImage snapshot)
final Path reportFolderPath
void writeSnapShotHTMLFile()