Autopsy  4.7.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager Class Reference

Inherits Observable.

Classes

class  FilesSetsManagerException
 

Public Member Functions

Map< String, FilesSetgetCustomFileIngestFilters () throws FilesSetsManagerException
 
Map< String, FilesSetgetInterestingFilesSets () throws FilesSetsManagerException
 

Static Public Member Functions

static FilesSet getDefaultFilter ()
 
static synchronized FilesSetsManager getInstance ()
 
static List< FilesSetgetStandardFileIngestFilters ()
 

Static Private Attributes

static final String FILE_INGEST_FILTER_DEFS_NAME = "FileIngestFilterDefs.settings"
 
static final Object FILE_INGEST_FILTER_LOCK = new Object()
 
static final FilesSet FILES_DIRS_INGEST_FILTER
 
static final FilesSet FILES_DIRS_UNALLOC_INGEST_FILTER
 
static final List< String > ILLEGAL_FILE_NAME_CHARS = Collections.unmodifiableList(new ArrayList<>(Arrays.asList("\\", "/", ":", "*", "?", "\"", "<", ">")))
 
static final List< String > ILLEGAL_FILE_PATH_CHARS = Collections.unmodifiableList(new ArrayList<>(Arrays.asList("\\", ":", "*", "?", "\"", "<", ">")))
 
static FilesSetsManager instance
 
static final String INTERESTING_FILES_SET_DEFS_NAME = "InterestingFileSets.settings"
 
static final Object INTERESTING_FILES_SET_LOCK = new Object()
 
static final String LEGACY_FILES_SET_DEFS_FILE_NAME = "InterestingFilesSetDefs.xml"
 

Detailed Description

Provides access to collections of FilesSet definitions persisted to disk. Clients receive copies of the most recent FilesSet definitions for Interesting Items or File Ingest Filters via synchronized methods, allowing the definitions to be safely published to multiple threads.

Definition at line 38 of file FilesSetsManager.java.

Member Function Documentation

Map<String, FilesSet> org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.getCustomFileIngestFilters ( ) throws FilesSetsManagerException
static FilesSet org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.getDefaultFilter ( )
static
static synchronized FilesSetsManager org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.getInstance ( )
static
Map<String, FilesSet> org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.getInterestingFilesSets ( ) throws FilesSetsManagerException

Gets a copy of the current interesting files set definitions.

Returns
A map of interesting files set names to interesting file sets, possibly empty.

Definition at line 150 of file FilesSetsManager.java.

References org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.INTERESTING_FILES_SET_LOCK.

Referenced by org.sleuthkit.autopsy.modules.interestingitems.InterestingItemsIngestModuleFactory.getDefaultIngestJobSettings(), and org.sleuthkit.autopsy.modules.interestingitems.FilesSetDefsPanel.load().

static List<FilesSet> org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.getStandardFileIngestFilters ( )
static

Member Data Documentation

final String org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.FILE_INGEST_FILTER_DEFS_NAME = "FileIngestFilterDefs.settings"
staticprivate

Definition at line 46 of file FilesSetsManager.java.

final Object org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.FILE_INGEST_FILTER_LOCK = new Object()
staticprivate
final FilesSet org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.FILES_DIRS_INGEST_FILTER
staticprivate
Initial value:
= new FilesSet(
Bundle.FilesSetsManager_allFilesAndDirectories(), Bundle.FilesSetsManager_allFilesAndDirectories(), false, true, new HashMap<String, Rule>() {
{
put(Bundle.FilesSetsManager_allFilesAndDirectories(),
new Rule(Bundle.FilesSetsManager_allFilesAndDirectories(), null,
new MetaTypeCondition(MetaTypeCondition.Type.ALL), null, null, null, null));
}
})

Definition at line 50 of file FilesSetsManager.java.

final FilesSet org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.FILES_DIRS_UNALLOC_INGEST_FILTER
staticprivate
Initial value:
= new FilesSet(
Bundle.FilesSetsManager_allFilesDirectoriesAndUnallocated(), Bundle.FilesSetsManager_allFilesDirectoriesAndUnallocated(),
false, false, new HashMap<String, Rule>() {
{
put(Bundle.FilesSetsManager_allFilesDirectoriesAndUnallocated(),
new Rule(Bundle.FilesSetsManager_allFilesDirectoriesAndUnallocated(), null,
new MetaTypeCondition(MetaTypeCondition.Type.ALL), null, null, null, null));
}
})

Definition at line 58 of file FilesSetsManager.java.

Referenced by org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.getDefaultFilter().

final List<String> org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.ILLEGAL_FILE_NAME_CHARS = Collections.unmodifiableList(new ArrayList<>(Arrays.asList("\\", "/", ":", "*", "?", "\"", "<", ">")))
staticprivate

Definition at line 42 of file FilesSetsManager.java.

final List<String> org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.ILLEGAL_FILE_PATH_CHARS = Collections.unmodifiableList(new ArrayList<>(Arrays.asList("\\", ":", "*", "?", "\"", "<", ">")))
staticprivate

Definition at line 43 of file FilesSetsManager.java.

FilesSetsManager org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.instance
staticprivate
final String org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.INTERESTING_FILES_SET_DEFS_NAME = "InterestingFileSets.settings"
staticprivate

Definition at line 45 of file FilesSetsManager.java.

final Object org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.INTERESTING_FILES_SET_LOCK = new Object()
staticprivate
final String org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.LEGACY_FILES_SET_DEFS_FILE_NAME = "InterestingFilesSetDefs.xml"
staticprivate

Definition at line 44 of file FilesSetsManager.java.


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

Copyright © 2012-2016 Basis Technology. Generated on: Mon Jun 18 2018
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.