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;
53 super(currentCase, reportFolderPath, reportName, generationDate);
55 this.image = snapshot;
69 HashMap<String, Object> snapShotContext =
new HashMap<>();
71 snapShotContext.put(
"startTime", zoomState.
getTimeRange().getStart().toString(DateTimeFormat.fullDateTime()));
72 snapShotContext.put(
"endTime", zoomState.
getTimeRange().getEnd().toString(DateTimeFormat.fullDateTime()));
73 snapShotContext.put(
"zoomState", zoomState);
Path getReportFolderPath()
final ZoomState zoomState
final BufferedImage image
void fillTemplateAndWrite(final String templateLocation, final String templateName, Object context, final Path outPutFile)
SnapShotReportWriter(Case currentCase, Path reportFolderPath, String reportName, ZoomState zoomState, Date generationDate, BufferedImage snapshot)
final Path reportFolderPath
void writeSnapShotHTMLFile()