Go to the documentation of this file.
19package com.basistech.df.cybertriage.autopsy.incidentoptions;
21import com.fasterxml.jackson.databind.ObjectMapper;
23import java.io.IOException;
24import java.nio.file.Paths;
25import java.util.logging.Level;
26import org.sleuthkit.autopsy.coreutils.Logger;
27import org.sleuthkit.autopsy.coreutils.PlatformUtil;
49 if (ctSettings !=
null) {
52 settingsFile.getParentFile().mkdirs();
56 }
catch (IOException ex) {
57 logger.log(Level.WARNING,
"There was an error writing CyberTriage settings to file: " + settingsFile.getAbsolutePath(), ex);
68 if (settingsFile.isFile()) {
71 }
catch (IOException ex) {
72 logger.log(Level.WARNING,
"There was an error reading CyberTriage settings to file: " + settingsFile.getAbsolutePath(), ex);
76 return settings ==
null
static final CTSettingsPersistence instance
final ObjectMapper objectMapper
synchronized CTSettings loadCTSettings()
static final Logger logger
static final String CT_SETTINGS_FILENAME
synchronized boolean saveCTSettings(CTSettings ctSettings)
static final String CT_SETTINGS_DIR
static CTSettingsPersistence getInstance()
synchronized static Logger getLogger(String name)
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.