Autopsy  4.9.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Static Public Member Functions | Private Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.casemodule.CasePreferences Class Reference

Static Public Member Functions

static Boolean getGroupItemsInTreeByDataSource ()
 
static void setGroupItemsInTreeByDataSource (boolean value)
 

Private Member Functions

 CasePreferences ()
 

Static Private Member Functions

static void clear ()
 
static void loadFromStorage (Case currentCase)
 
static void saveToStorage (Case currentCase)
 

Static Private Attributes

static Boolean groupItemsInTreeByDataSource = null
 
static final String KEY_GROUP_BY_DATA_SOURCE = "groupByDataSource"
 
static final Logger logger = Logger.getLogger(CasePreferences.class.getName())
 
static final String SETTINGS_FILE = "CasePreferences.properties"
 
static final String VALUE_FALSE = "false"
 
static final String VALUE_TRUE = "true"
 

Detailed Description

Read and update case preference file values.

Definition at line 37 of file CasePreferences.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.casemodule.CasePreferences.CasePreferences ( )
private

Prevent instantiation.

Definition at line 51 of file CasePreferences.java.

Member Function Documentation

static void org.sleuthkit.autopsy.casemodule.CasePreferences.clear ( )
staticprivate

Reset all values to their default states.

Definition at line 127 of file CasePreferences.java.

static Boolean org.sleuthkit.autopsy.casemodule.CasePreferences.getGroupItemsInTreeByDataSource ( )
static

Get the 'groupItemsInTreeByDataSource' value. This can be true, false, or null.

Returns
The value.

Definition at line 76 of file CasePreferences.java.

References org.sleuthkit.autopsy.casemodule.CasePreferences.groupItemsInTreeByDataSource.

Referenced by org.sleuthkit.autopsy.directorytree.ViewContextAction.actionPerformed(), org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.componentOpened(), org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.createBaseWhereExpr(), org.sleuthkit.autopsy.datamodel.AutopsyTreeChildFactory.createKeys(), org.sleuthkit.autopsy.datamodel.Tags.TagNameNodeFactory.createKeys(), org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeFactory.createKeys(), org.sleuthkit.autopsy.datamodel.Tags.ContentTagNodeFactory.createKeys(), org.sleuthkit.autopsy.datamodel.ExtractedContent.ArtifactFactory.createKeys(), org.sleuthkit.autopsy.datamodel.Tags.BlackboardArtifactTagNodeFactory.createKeys(), org.sleuthkit.autopsy.datamodel.FileTypesByExtension.createQuery(), org.sleuthkit.autopsy.datamodel.accounts.Accounts.getFilterByDataSourceClause(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.load(), org.sleuthkit.autopsy.datamodel.InterestingHits.InterestingResults.loadArtifacts(), org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.promptForDataSourceGrouping(), org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.refreshTagsTree(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.storeGroupItemsInTreeByDataSource(), org.sleuthkit.autopsy.datamodel.EmailExtracted.EmailResults.update(), org.sleuthkit.autopsy.datamodel.KeywordHits.KeywordResults.update(), org.sleuthkit.autopsy.datamodel.Tags.TagNameNode.updateDisplayName(), org.sleuthkit.autopsy.datamodel.Tags.ContentTagTypeNode.updateDisplayName(), and org.sleuthkit.autopsy.datamodel.Tags.BlackboardArtifactTagTypeNode.updateDisplayName().

static void org.sleuthkit.autopsy.casemodule.CasePreferences.loadFromStorage ( Case  currentCase)
staticprivate

Load case preferences from the settings file.

Definition at line 93 of file CasePreferences.java.

References org.sleuthkit.autopsy.casemodule.Case.getConfigDirectory(), and org.sleuthkit.autopsy.casemodule.CasePreferences.SETTINGS_FILE.

static void org.sleuthkit.autopsy.casemodule.CasePreferences.saveToStorage ( Case  currentCase)
staticprivate
static void org.sleuthkit.autopsy.casemodule.CasePreferences.setGroupItemsInTreeByDataSource ( boolean  value)
static

Member Data Documentation

Boolean org.sleuthkit.autopsy.casemodule.CasePreferences.groupItemsInTreeByDataSource = null
staticprivate
final String org.sleuthkit.autopsy.casemodule.CasePreferences.KEY_GROUP_BY_DATA_SOURCE = "groupByDataSource"
staticprivate

Definition at line 40 of file CasePreferences.java.

final Logger org.sleuthkit.autopsy.casemodule.CasePreferences.logger = Logger.getLogger(CasePreferences.class.getName())
staticprivate

Definition at line 44 of file CasePreferences.java.

final String org.sleuthkit.autopsy.casemodule.CasePreferences.SETTINGS_FILE = "CasePreferences.properties"
staticprivate
final String org.sleuthkit.autopsy.casemodule.CasePreferences.VALUE_FALSE = "false"
staticprivate

Definition at line 42 of file CasePreferences.java.

final String org.sleuthkit.autopsy.casemodule.CasePreferences.VALUE_TRUE = "true"
staticprivate

Definition at line 41 of file CasePreferences.java.


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

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.