Autopsy  4.19.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.communications.snapshot.CommSnapShotReportWriter Class Reference



class  ReportWriterHelper

Public Member Functions

 CommSnapShotReportWriter (Case currentCase, Path reportFolderPath, String reportName, Date generationDate, BufferedImage snapshot, CommunicationsFilter filter)
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 CommunicationsFilter filter
final BufferedImage image

Detailed Description

Generate and write the Communication snapshot report to disk.

Definition at line 48 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.communications.snapshot.CommSnapShotReportWriter.CommSnapShotReportWriter ( Case  currentCase,
Path  reportFolderPath,
String  reportName,
Date  generationDate,
BufferedImage  snapshot,
CommunicationsFilter  filter 


currentCaseThe Case to write a report for.
reportFolderPathThe Path to the folder that will contain the report.
reportNameThe name of the report.
generationDateThe generation Date of the report.
snapshotA snapshot of the view to include in the report.
filterThe communications filter

Definition at line 64 of file

References org.sleuthkit.autopsy.communications.snapshot.CommSnapShotReportWriter.filter.

Member Function Documentation

void ( final String  templateLocation,
final String  templateName,
Object  context,
final Path  outPutFile 
) throws IOException

Fill in the mustache template at the given location using the values from the given context object and save it to the given outPutFile.

templateLocationThe location of the template. suitible for use with Class.getResourceAsStream
templateNameThe name of the tempalte. (Used by mustache to cache templates?)
contextThe contect to use to fill in the template values.
outPutFileThe filled in tempalte will be saced at this Path.
IOExceptionIf there is a problem saving the filled in template to disk.

Definition at line 186 of file

Referenced by, org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.writeSnapShotHTMLFile(), org.sleuthkit.autopsy.communications.snapshot.CommSnapShotReportWriter.writeSnapShotHTMLFile(), and

Case ( )
Path ( )
String ( )
Path ( ) throws IOException

Generate and write the report to disk.

The Path to the "main file" of the report. This is the file that Autopsy shows in the results view when the Reports Node is selected in the DirectoryTree.
IOExceptionIf there is a problem writing the report.

Definition at line 84 of file

References,,, and

Referenced by org.sleuthkit.autopsy.communications.VisualizationPanel.createReport().

void org.sleuthkit.autopsy.communications.snapshot.CommSnapShotReportWriter.writeSnapShotHTMLFile ( ) throws IOException

Member Data Documentation

final CommunicationsFilter org.sleuthkit.autopsy.communications.snapshot.CommSnapShotReportWriter.filter
final BufferedImage org.sleuthkit.autopsy.communications.snapshot.CommSnapShotReportWriter.image

Definition at line 50 of file

The documentation for this class was generated from the following file:

Copyright © 2012-2021 Basis Technology. Generated on: Fri Aug 6 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.