Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.
Public Member Functions | |
SnapShotReportWriter (Case currentCase, Path reportFolderPath, String reportName, ZoomState zoomState, Date generationDate, BufferedImage snapshot) | |
Path | writeReport () throws IOException |
Protected Member Functions | |
void | fillTemplateAndWrite (final String templateLocation, final String templateName, Object context, final Path outPutFile) throws IOException |
Case | getCurrentCase () |
Path | getReportFolderPath () |
String | getReportName () |
void | writeSnapShotHTMLFile () throws IOException |
Private Attributes | |
final BufferedImage | image |
final ZoomState | zoomState |
Generate and write the Timeline snapshot report to disk.
Definition at line 35 of file SnapShotReportWriter.java.
org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.SnapShotReportWriter | ( | Case | currentCase, |
Path | reportFolderPath, | ||
String | reportName, | ||
ZoomState | zoomState, | ||
Date | generationDate, | ||
BufferedImage | snapshot | ||
) |
Constructor
currentCase | The Case to write a report for. |
reportFolderPath | The Path to the folder that will contain the report. |
reportName | The name of the report. |
zoomState | The ZoomState in effect when the snapshot was taken. |
generationDate | The generation Date of the report. |
snapshot | A snapshot of the view to include in the report. |
Definition at line 52 of file SnapShotReportWriter.java.
References org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.zoomState.
|
protectedinherited |
Fill in the mustache template at the given location using the values from the given context object and save it to the given outPutFile.
templateLocation | The location of the template. suitible for use with Class.getResourceAsStream |
templateName | The name of the tempalte. (Used by mustache to cache templates?) |
context | The contect to use to fill in the template values. |
outPutFile | The filled in tempalte will be saced at this Path. |
IOException | If there is a problem saving the filled in template to disk. |
Definition at line 186 of file UiSnapShotReportWriter.java.
Referenced by org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.writeIndexHTML(), org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.writeSnapShotHTMLFile(), org.sleuthkit.autopsy.communications.snapshot.CommSnapShotReportWriter.writeSnapShotHTMLFile(), and org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.writeSummaryHTML().
|
protectedinherited |
Get the case for this report.
Definition at line 118 of file UiSnapShotReportWriter.java.
References org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.currentCase.
Referenced by org.sleuthkit.autopsy.communications.snapshot.CommSnapShotReportWriter.writeSnapShotHTMLFile().
|
protectedinherited |
Get the folder path for the report.
Definition at line 109 of file UiSnapShotReportWriter.java.
References org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.reportFolderPath.
Referenced by org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.writeSnapShotHTMLFile(), and org.sleuthkit.autopsy.communications.snapshot.CommSnapShotReportWriter.writeSnapShotHTMLFile().
|
protectedinherited |
Get the name for the report.
Definition at line 100 of file UiSnapShotReportWriter.java.
References org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.reportName.
Referenced by org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.writeSnapShotHTMLFile(), and org.sleuthkit.autopsy.communications.snapshot.CommSnapShotReportWriter.writeSnapShotHTMLFile().
|
inherited |
Generate and write the report to disk.
IOException | If there is a problem writing the report. |
Definition at line 84 of file UiSnapShotReportWriter.java.
References org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.copyResources(), org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.writeIndexHTML(), org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.writeSnapShotHTMLFile(), and org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.writeSummaryHTML().
Referenced by org.sleuthkit.autopsy.communications.VisualizationPanel.createReport().
|
protected |
Generate and write the html page that shows the snapshot and the ZoomState
IOException | If there is a problem writing the html file to disk. |
Definition at line 64 of file SnapShotReportWriter.java.
References org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.fillTemplateAndWrite(), org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.getReportFolderPath(), org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.getReportName(), and org.sleuthkit.autopsy.timeline.zooming.ZoomState.getTimeRange().
|
private |
Definition at line 38 of file SnapShotReportWriter.java.
|
private |
Definition at line 37 of file SnapShotReportWriter.java.
Referenced by org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.SnapShotReportWriter().
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.