Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherited by org.sleuthkit.autopsy.communications.snapshot.CommSnapShotReportWriter, and org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.
Public Member Functions | |
Path | writeReport () throws IOException |
Protected Member Functions | |
UiSnapShotReportWriter (Case currentCase, Path reportFolderPath, String reportName, Date generationDate) | |
void | fillTemplateAndWrite (final String templateLocation, final String templateName, Object context, final Path outPutFile) throws IOException |
Case | getCurrentCase () |
Path | getReportFolderPath () |
String | getReportName () |
abstract void | writeSnapShotHTMLFile () throws IOException |
Private Member Functions | |
void | copyInternalResource (String internalPath, String fileName) throws IOException |
void | copyResources () throws IOException |
Path | writeIndexHTML () throws IOException |
void | writeSummaryHTML () throws IOException |
Private Attributes | |
final Case | currentCase |
Date | generationDate |
final ReportBranding | reportBranding |
final Path | reportFolderPath |
final String | reportName |
Static Private Attributes | |
static final MustacheFactory | mf = new DefaultMustacheFactory() |
Generate and write the snapshot report to disk.
Definition at line 43 of file UiSnapShotReportWriter.java.
|
protected |
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. |
generationDate | The generation Date of the report. |
Definition at line 66 of file UiSnapShotReportWriter.java.
References org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.currentCase, org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.generationDate, org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.reportFolderPath, and org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.reportName.
|
private |
Copies internal resource to the report folder.
internalPath | Location in jar of the image |
fileName | Name to give resource in new location |
IOException |
Definition at line 234 of file UiSnapShotReportWriter.java.
Referenced by org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.copyResources().
|
private |
Copy static resources (static html, css, images, etc) to the reports folder.
IOException | If there is a problem copying the resources. |
Definition at line 200 of file UiSnapShotReportWriter.java.
References org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.copyInternalResource(), org.sleuthkit.autopsy.report.ReportBranding.getAgencyLogoPath(), and org.sleuthkit.autopsy.report.ReportBranding.getGeneratorLogoPath().
Referenced by org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.writeReport().
|
protected |
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().
|
protected |
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().
|
protected |
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().
|
protected |
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().
|
private |
Generate and write the main html page with frames for navigation on the left and content on the right.
IOException | If there is a problem writing the html file to disk. |
Definition at line 138 of file UiSnapShotReportWriter.java.
References org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.fillTemplateAndWrite().
Referenced by org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.writeReport().
Path org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.writeReport | ( | ) | throws IOException |
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().
|
abstractprotected |
Generate and write the html page that shows the snapshot and the state of any filters.
IOException | If there is a problem writing the html file to disk. |
Referenced by org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.writeReport().
|
private |
IOException | If there is a problem writing the html file to disk. |
Definition at line 154 of file UiSnapShotReportWriter.java.
References org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.fillTemplateAndWrite(), org.sleuthkit.autopsy.report.ReportBranding.getAgencyLogoPath(), org.sleuthkit.autopsy.ingest.IngestManager.getInstance(), and org.sleuthkit.autopsy.ingest.IngestManager.isIngestRunning().
Referenced by org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.writeReport().
|
private |
Definition at line 50 of file UiSnapShotReportWriter.java.
Referenced by org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.getCurrentCase(), and org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.UiSnapShotReportWriter().
|
private |
Definition at line 55 of file UiSnapShotReportWriter.java.
Referenced by org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.UiSnapShotReportWriter().
|
staticprivate |
mustache.java template factory.
Definition at line 48 of file UiSnapShotReportWriter.java.
|
private |
Definition at line 53 of file UiSnapShotReportWriter.java.
|
private |
Definition at line 51 of file UiSnapShotReportWriter.java.
Referenced by org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.getReportFolderPath(), and org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.UiSnapShotReportWriter().
|
private |
Definition at line 52 of file UiSnapShotReportWriter.java.
Referenced by org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.getReportName(), and org.sleuthkit.autopsy.report.uisnapshot.UiSnapShotReportWriter.UiSnapShotReportWriter().
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.