|
Autopsy
4.9.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Public Member Functions | |
| SnapShotReportWriter (Case currentCase, Path reportFolderPath, String reportName, ZoomParams zoomParams, Date generationDate, BufferedImage snapshot) | |
| Path | writeReport () throws IOException |
Private Member Functions | |
| void | copyResources () throws IOException |
| void | fillTemplateAndWrite (final String templateLocation, final String templateName, Object context, final Path outPutFile) throws IOException |
| Path | writeIndexHTML () throws IOException |
| void | writeSnapShotHTMLFile () throws IOException |
| void | writeSummaryHTML () throws IOException |
Private Attributes | |
| final Case | currentCase |
| final Date | generationDate |
| final BufferedImage | image |
| final ReportBranding | reportBranding |
| final Path | reportFolderPath |
| final String | reportName |
| final ZoomParams | zoomParams |
Static Private Attributes | |
| static final MustacheFactory | mf = new DefaultMustacheFactory() |
Generate and write the Timeline snapshot report to disk.
Definition at line 47 of file SnapShotReportWriter.java.
| org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.SnapShotReportWriter | ( | Case | currentCase, |
| Path | reportFolderPath, | ||
| String | reportName, | ||
| ZoomParams | zoomParams, | ||
| 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. |
| zoomParams | The ZoomParams 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 76 of file SnapShotReportWriter.java.
References org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.currentCase, org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.generationDate, org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.reportFolderPath, org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.reportName, and org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.zoomParams.
|
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 197 of file SnapShotReportWriter.java.
References org.sleuthkit.autopsy.report.ReportBranding.getAgencyLogoPath(), and org.sleuthkit.autopsy.report.ReportBranding.getGeneratorLogoPath().
Referenced by org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.writeReport().
|
private |
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 183 of file SnapShotReportWriter.java.
Referenced by org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.writeIndexHTML(), org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.writeSnapShotHTMLFile(), and org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.writeSummaryHTML().
|
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 135 of file SnapShotReportWriter.java.
References org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.fillTemplateAndWrite().
Referenced by org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.writeReport().
| Path org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.writeReport | ( | ) | throws IOException |
Generate and write the report to disk.
| IOException | If there is a problem writing the report. |
Definition at line 96 of file SnapShotReportWriter.java.
References org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.copyResources(), org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.writeIndexHTML(), org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.writeSnapShotHTMLFile(), and org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.writeSummaryHTML().
|
private |
Generate and write the html page that shows the snapshot and the state of the ZoomParams
| IOException | If there is a problem writing the html file to disk. |
Definition at line 116 of file SnapShotReportWriter.java.
References org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.fillTemplateAndWrite(), and org.sleuthkit.autopsy.timeline.zooming.ZoomParams.getTimeRange().
Referenced by org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.writeReport().
|
private |
| IOException | If there is a problem writing the html file to disk. |
Definition at line 151 of file SnapShotReportWriter.java.
References org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.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.timeline.snapshot.SnapShotReportWriter.writeReport().
|
private |
Definition at line 54 of file SnapShotReportWriter.java.
Referenced by org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.SnapShotReportWriter().
|
private |
Definition at line 60 of file SnapShotReportWriter.java.
Referenced by org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.SnapShotReportWriter().
|
private |
Definition at line 61 of file SnapShotReportWriter.java.
|
staticprivate |
mustache.java template factory.
Definition at line 52 of file SnapShotReportWriter.java.
|
private |
Definition at line 57 of file SnapShotReportWriter.java.
|
private |
Definition at line 55 of file SnapShotReportWriter.java.
Referenced by org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.SnapShotReportWriter().
|
private |
Definition at line 56 of file SnapShotReportWriter.java.
Referenced by org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.SnapShotReportWriter().
|
private |
Definition at line 59 of file SnapShotReportWriter.java.
Referenced by org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.SnapShotReportWriter().
Copyright © 2012-2018 Basis Technology. Generated on: Tue Dec 18 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.