Autopsy  4.18.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

Inherits org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.

Classes

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 CommSnapShotReportWriter.java.

Constructor & Destructor Documentation

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

Constructor

Parameters
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 CommSnapShotReportWriter.java.

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

Member Function Documentation

void org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.fillTemplateAndWrite ( final String  templateLocation,
final String  templateName,
Object  context,
final Path  outPutFile 
) throws IOException
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.

Parameters
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.
Exceptions
IOExceptionIf 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().

Case org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.getCurrentCase ( )
protectedinherited
Path org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.getReportFolderPath ( )
protectedinherited
String org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.getReportName ( )
protectedinherited
Path org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.writeReport ( ) throws IOException
inherited

Generate and write the report to disk.

Returns
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.
Exceptions
IOExceptionIf 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().

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

Member Data Documentation

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

Definition at line 50 of file CommSnapShotReportWriter.java.


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

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