Autopsy
4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.report.ReportBrandingProviderI.
Public Member Functions | |
ReportBranding () | |
String | getAgencyLogoPath () |
String | getGeneratorLogoPath () |
String | getReportFooter () |
String | getReportsBrandingDir () |
String | getReportTitle () |
void | setAgencyLogoPath (String path) |
void | setGeneratorLogoPath (String path) |
void | setReportFooter (String footer) |
void | setReportTitle (String title) |
Private Member Functions | |
void | extractDefaultGeneratorLogo () |
Private Attributes | |
String | defaultGeneratorLogoPath |
String | reportsBrandingDir |
Static Private Attributes | |
static final String | AGENCY_LOGO_PATH_PROP = "AgencyLogoPath" |
static final String | DEFAULT_GENERATOR_LOGO = "/org/sleuthkit/autopsy/report/images/default_generator_logo.png" |
static final String | DEFAULT_REPORT_FOOTER |
static final String | DEFAULT_REPORT_TITLE |
static String | generatorLogoPath = null |
static final Logger | logger = Logger.getLogger(ReportBranding.class.getName()) |
static final String | MODULE_NAME = ReportBranding.class.getSimpleName() |
static final String | REPORT_FOOTER_PROP = "ReportFooter" |
static final String | REPORT_TITLE_PROP = "ReportTitle" |
Manages settings configured report branding and their defaults.
If configured branding is not present on the machine, uses defaults.
Uses module settings property files to store customizations.
Definition at line 36 of file ReportBranding.java.
org.sleuthkit.autopsy.report.ReportBranding.ReportBranding | ( | ) |
Definition at line 60 of file ReportBranding.java.
References org.sleuthkit.autopsy.report.ReportBranding.extractDefaultGeneratorLogo(), org.sleuthkit.autopsy.report.ReportBranding.getAgencyLogoPath(), org.sleuthkit.autopsy.report.ReportBranding.getReportTitle(), and org.sleuthkit.autopsy.coreutils.PlatformUtil.getUserConfigDirectory().
|
private |
extract default logo from JAR file to local file.
Definition at line 87 of file ReportBranding.java.
References org.sleuthkit.autopsy.report.ReportBranding.DEFAULT_GENERATOR_LOGO, org.sleuthkit.autopsy.coreutils.PlatformUtil.extractResourceToUserConfigDir(), and org.sleuthkit.autopsy.coreutils.PlatformUtil.getUserConfigDirectory().
Referenced by org.sleuthkit.autopsy.report.ReportBranding.ReportBranding().
String org.sleuthkit.autopsy.report.ReportBranding.getAgencyLogoPath | ( | ) |
Definition at line 112 of file ReportBranding.java.
References org.sleuthkit.autopsy.coreutils.ModuleSettings.getConfigSetting().
Referenced by org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.copyResources(), and org.sleuthkit.autopsy.report.ReportBranding.ReportBranding().
String org.sleuthkit.autopsy.report.ReportBranding.getGeneratorLogoPath | ( | ) |
Definition at line 97 of file ReportBranding.java.
References org.sleuthkit.autopsy.report.ReportBranding.defaultGeneratorLogoPath, and org.sleuthkit.autopsy.report.ReportBranding.generatorLogoPath.
Referenced by org.sleuthkit.autopsy.timeline.snapshot.SnapShotReportWriter.copyResources().
String org.sleuthkit.autopsy.report.ReportBranding.getReportFooter | ( | ) |
String org.sleuthkit.autopsy.report.ReportBranding.getReportsBrandingDir | ( | ) |
Definition at line 80 of file ReportBranding.java.
References org.sleuthkit.autopsy.report.ReportBranding.reportsBrandingDir.
String org.sleuthkit.autopsy.report.ReportBranding.getReportTitle | ( | ) |
Definition at line 139 of file ReportBranding.java.
References org.sleuthkit.autopsy.report.ReportBranding.DEFAULT_REPORT_TITLE, org.sleuthkit.autopsy.coreutils.ModuleSettings.getConfigSetting(), and org.sleuthkit.autopsy.coreutils.ModuleSettings.setConfigSetting().
Referenced by org.sleuthkit.autopsy.report.ReportBranding.ReportBranding().
void org.sleuthkit.autopsy.report.ReportBranding.setAgencyLogoPath | ( | String | path | ) |
Definition at line 132 of file ReportBranding.java.
References org.sleuthkit.autopsy.coreutils.ModuleSettings.setConfigSetting().
void org.sleuthkit.autopsy.report.ReportBranding.setGeneratorLogoPath | ( | String | path | ) |
Definition at line 107 of file ReportBranding.java.
void org.sleuthkit.autopsy.report.ReportBranding.setReportFooter | ( | String | footer | ) |
Definition at line 174 of file ReportBranding.java.
References org.sleuthkit.autopsy.coreutils.ModuleSettings.setConfigSetting().
void org.sleuthkit.autopsy.report.ReportBranding.setReportTitle | ( | String | title | ) |
Definition at line 154 of file ReportBranding.java.
References org.sleuthkit.autopsy.coreutils.ModuleSettings.setConfigSetting().
|
staticprivate |
Definition at line 39 of file ReportBranding.java.
|
staticprivate |
Definition at line 43 of file ReportBranding.java.
Referenced by org.sleuthkit.autopsy.report.ReportBranding.extractDefaultGeneratorLogo().
|
staticprivate |
Definition at line 46 of file ReportBranding.java.
Referenced by org.sleuthkit.autopsy.report.ReportBranding.getReportFooter().
|
staticprivate |
Definition at line 44 of file ReportBranding.java.
Referenced by org.sleuthkit.autopsy.report.ReportBranding.getReportTitle().
|
private |
Definition at line 58 of file ReportBranding.java.
Referenced by org.sleuthkit.autopsy.report.ReportBranding.getGeneratorLogoPath().
|
staticprivate |
Definition at line 56 of file ReportBranding.java.
Referenced by org.sleuthkit.autopsy.report.ReportBranding.getGeneratorLogoPath().
|
staticprivate |
Definition at line 50 of file ReportBranding.java.
|
staticprivate |
Definition at line 49 of file ReportBranding.java.
|
staticprivate |
Definition at line 41 of file ReportBranding.java.
|
staticprivate |
Definition at line 40 of file ReportBranding.java.
|
private |
Definition at line 48 of file ReportBranding.java.
Referenced by org.sleuthkit.autopsy.report.ReportBranding.getReportsBrandingDir().
Copyright © 2012-2016 Basis Technology. Generated on: Tue Oct 25 2016
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.