Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.modules.hashdatabase.infrastructure.HashConfigPaths Class Reference

Public Member Functions

String getBasePath ()
 
String getDefaultDbPath ()
 
String getSettingsPath ()
 
String getXmlSettingsPath ()
 

Static Public Member Functions

static HashConfigPaths getInstance ()
 

Private Member Functions

 HashConfigPaths ()
 

Static Private Attributes

static final String HASH_CONFIG_PATH = Paths.get(PlatformUtil.getModuleConfigDirectory(), HASHSET_FOLDER).toAbsolutePath().toString()
 
static final String HASH_DATABASE_DEFAULT_FOLDER = "HashDatabases"
 
static final String HASH_DATABASE_DEFAULT_PATH = Paths.get(HASH_CONFIG_PATH, HASH_DATABASE_DEFAULT_FOLDER).toString()
 
static final String HASHSET_FOLDER = "HashLookup"
 
static final HashConfigPaths instance = new HashConfigPaths()
 
static final String SERIALIZATION_FILE_NAME = "hashLookup.settings"
 
static final String SERIALIZATION_FILE_PATH = Paths.get(HASH_CONFIG_PATH, SERIALIZATION_FILE_NAME).toString()
 
static final String XML_FILE_NAME = "hashsets.xml"
 
static final String XML_FILE_PATH = Paths.get(HASH_CONFIG_PATH, XML_FILE_NAME).toAbsolutePath().toString()
 

Detailed Description

Paths for hash config files.

Definition at line 27 of file HashConfigPaths.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.modules.hashdatabase.infrastructure.HashConfigPaths.HashConfigPaths ( )
private

Definition at line 45 of file HashConfigPaths.java.

Member Function Documentation

String org.sleuthkit.autopsy.modules.hashdatabase.infrastructure.HashConfigPaths.getBasePath ( )
Returns
The base path to the config file.

Definition at line 58 of file HashConfigPaths.java.

References org.sleuthkit.autopsy.modules.hashdatabase.infrastructure.HashConfigPaths.HASH_CONFIG_PATH.

String org.sleuthkit.autopsy.modules.hashdatabase.infrastructure.HashConfigPaths.getDefaultDbPath ( )
static HashConfigPaths org.sleuthkit.autopsy.modules.hashdatabase.infrastructure.HashConfigPaths.getInstance ( )
static
String org.sleuthkit.autopsy.modules.hashdatabase.infrastructure.HashConfigPaths.getSettingsPath ( )
String org.sleuthkit.autopsy.modules.hashdatabase.infrastructure.HashConfigPaths.getXmlSettingsPath ( )

Member Data Documentation

final String org.sleuthkit.autopsy.modules.hashdatabase.infrastructure.HashConfigPaths.HASH_CONFIG_PATH = Paths.get(PlatformUtil.getModuleConfigDirectory(), HASHSET_FOLDER).toAbsolutePath().toString()
staticprivate
final String org.sleuthkit.autopsy.modules.hashdatabase.infrastructure.HashConfigPaths.HASH_DATABASE_DEFAULT_FOLDER = "HashDatabases"
staticprivate

Definition at line 39 of file HashConfigPaths.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.infrastructure.HashConfigPaths.HASH_DATABASE_DEFAULT_PATH = Paths.get(HASH_CONFIG_PATH, HASH_DATABASE_DEFAULT_FOLDER).toString()
staticprivate
final String org.sleuthkit.autopsy.modules.hashdatabase.infrastructure.HashConfigPaths.HASHSET_FOLDER = "HashLookup"
staticprivate

Definition at line 31 of file HashConfigPaths.java.

final HashConfigPaths org.sleuthkit.autopsy.modules.hashdatabase.infrastructure.HashConfigPaths.instance = new HashConfigPaths()
staticprivate
final String org.sleuthkit.autopsy.modules.hashdatabase.infrastructure.HashConfigPaths.SERIALIZATION_FILE_NAME = "hashLookup.settings"
staticprivate

Definition at line 32 of file HashConfigPaths.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.infrastructure.HashConfigPaths.SERIALIZATION_FILE_PATH = Paths.get(HASH_CONFIG_PATH, SERIALIZATION_FILE_NAME).toString()
staticprivate
final String org.sleuthkit.autopsy.modules.hashdatabase.infrastructure.HashConfigPaths.XML_FILE_NAME = "hashsets.xml"
staticprivate

Definition at line 36 of file HashConfigPaths.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.infrastructure.HashConfigPaths.XML_FILE_PATH = Paths.get(HASH_CONFIG_PATH, XML_FILE_NAME).toAbsolutePath().toString()
staticprivate

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

Copyright © 2012-2022 Basis Technology. Generated on: Tue Jun 27 2023
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.