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

Static Public Member Functions

static Map< AutoIngestDataSourceProcessor, Integer > getDataSourceProcessorForFile (Path dataSourcePath, Collection<?extends AutoIngestDataSourceProcessor > processorCandidates) throws AutoIngestDataSourceProcessorException
 
static List< AutoIngestDataSourceProcessorgetOrderedListOfDataSourceProcessors (Path dataSourcePath) throws AutoIngestDataSourceProcessorException
 
static List< AutoIngestDataSourceProcessorgetOrderedListOfDataSourceProcessors (Path dataSourcePath, Collection<?extends AutoIngestDataSourceProcessor > processorCandidates) throws AutoIngestDataSourceProcessorException
 
static List< AutoIngestDataSourceProcessororderDataSourceProcessorsByConfidence (Map< AutoIngestDataSourceProcessor, Integer > validDataSourceProcessorsMap)
 

Private Member Functions

 DataSourceProcessorUtility ()
 

Detailed Description

A utility class to find Data Source Processors

Definition at line 33 of file DataSourceProcessorUtility.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datasourceprocessors.DataSourceProcessorUtility.DataSourceProcessorUtility ( )
private

Definition at line 35 of file DataSourceProcessorUtility.java.

Member Function Documentation

static Map<AutoIngestDataSourceProcessor, Integer> org.sleuthkit.autopsy.datasourceprocessors.DataSourceProcessorUtility.getDataSourceProcessorForFile ( Path  dataSourcePath,
Collection<?extends AutoIngestDataSourceProcessor processorCandidates 
) throws AutoIngestDataSourceProcessorException
static

A utility method to find all Data Source Processors (DSP) that are able to process the input data source. Only the DSPs that implement AutoIngestDataSourceProcessor interface are used.

Parameters
dataSourcePathFull path to the data source
processorCandidatesPossible DSPs that can handle the data source
Returns
Hash map of all DSPs that can process the data source along with their confidence score
Exceptions
org.sleuthkit.autopsy.datasourceprocessors.AutoIngestDataSourceProcessor.AutoIngestDataSourceProcessorException

Definition at line 51 of file DataSourceProcessorUtility.java.

Referenced by org.sleuthkit.autopsy.datasourceprocessors.DataSourceProcessorUtility.getOrderedListOfDataSourceProcessors().

static List<AutoIngestDataSourceProcessor> org.sleuthkit.autopsy.datasourceprocessors.DataSourceProcessorUtility.getOrderedListOfDataSourceProcessors ( Path  dataSourcePath) throws AutoIngestDataSourceProcessorException
static

A utility method to find all Data Source Processors (DSP) that are able to process the input data source. Only the DSPs that implement AutoIngestDataSourceProcessor interface are used. Returns ordered list of data source processors. DSPs are ordered in descending order from highest confidence to lowest.

Parameters
dataSourcePathFull path to the data source
Returns
Ordered list of data source processors. DSPs are ordered in descending order from highest confidence to lowest.
Exceptions
org.sleuthkit.autopsy.datasourceprocessors.AutoIngestDataSourceProcessor.AutoIngestDataSourceProcessorException

Definition at line 78 of file DataSourceProcessorUtility.java.

Referenced by org.sleuthkit.autopsy.integrationtesting.IntegrationTestService.addDataSourcesToCase(), and org.sleuthkit.autopsy.commandlineingest.CommandLineIngestManager.JobProcessingTask.runDataSourceProcessor().

static List<AutoIngestDataSourceProcessor> org.sleuthkit.autopsy.datasourceprocessors.DataSourceProcessorUtility.getOrderedListOfDataSourceProcessors ( Path  dataSourcePath,
Collection<?extends AutoIngestDataSourceProcessor processorCandidates 
) throws AutoIngestDataSourceProcessorException
static

A utility method to find all Data Source Processors (DSP) that are able to process the input data source. Only the DSPs that implement AutoIngestDataSourceProcessor interface are used. Returns ordered list of data source processors. DSPs are ordered in descending order from highest confidence to lowest.

Parameters
dataSourcePathFull path to the data source
processorCandidatesCollection of AutoIngestDataSourceProcessor objects to use
Returns
Ordered list of data source processors. DSPs are ordered in descending order from highest confidence to lowest.
Exceptions
org.sleuthkit.autopsy.datasourceprocessors.AutoIngestDataSourceProcessor.AutoIngestDataSourceProcessorException

Definition at line 100 of file DataSourceProcessorUtility.java.

References org.sleuthkit.autopsy.datasourceprocessors.DataSourceProcessorUtility.getDataSourceProcessorForFile(), and org.sleuthkit.autopsy.datasourceprocessors.DataSourceProcessorUtility.orderDataSourceProcessorsByConfidence().

static List<AutoIngestDataSourceProcessor> org.sleuthkit.autopsy.datasourceprocessors.DataSourceProcessorUtility.orderDataSourceProcessorsByConfidence ( Map< AutoIngestDataSourceProcessor, Integer >  validDataSourceProcessorsMap)
static

A utility method to get an ordered list of data source processors. DSPs are ordered in descending order from highest confidence to lowest.

Parameters
validDataSourceProcessorsMapHash map of all DSPs that can process the data source along with their confidence score
Returns
Ordered list of data source processors

Definition at line 114 of file DataSourceProcessorUtility.java.

Referenced by org.sleuthkit.autopsy.datasourceprocessors.DataSourceProcessorUtility.getOrderedListOfDataSourceProcessors().


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

Copyright © 2012-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.