Autopsy
4.7.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor, and org.sleuthkit.autopsy.datasourceprocessors.AutoIngestDataSourceProcessor.
Public Member Functions | |
RawDSProcessor () | |
void | cancel () |
int | canProcess (Path dataSourcePath) throws AutoIngestDataSourceProcessorException |
String | getDataSourceType () |
JPanel | getPanel () |
boolean | isPanelValid () |
void | process (String deviceId, Path dataSourcePath, DataSourceProcessorProgressMonitor progressMonitor, DataSourceProcessorCallback callBack) |
void | reset () |
void | run (DataSourceProcessorProgressMonitor progressMonitor, DataSourceProcessorCallback callback) |
Static Public Member Functions | |
static String | getType () |
Private Member Functions | |
void | run (String deviceId, String imageFilePath, String timeZone, long chunkSize, DataSourceProcessorProgressMonitor progressMonitor, DataSourceProcessorCallback callback) |
Static Private Member Functions | |
static boolean | isAcceptedByFiler (File file, List< FileFilter > filters) |
Private Attributes | |
final RawDSInputPanel | configPanel |
Static Private Attributes | |
static final long | DEFAULT_CHUNK_SIZE = 2000000000L |
static final GeneralFilter | encaseFilter = new GeneralFilter(GeneralFilter.ENCASE_IMAGE_EXTS, GeneralFilter.ENCASE_IMAGE_DESC) |
static final List< FileFilter > | filtersList = new ArrayList<>() |
static final GeneralFilter | rawFilter = new GeneralFilter(GeneralFilter.RAW_IMAGE_EXTS, GeneralFilter.RAW_IMAGE_DESC) |
A Raw data source processor that implements the DataSourceProcessor service provider interface to allow integration with the add data source wizard. It also provides a run method overload to allow it to be used independently of the wizard.
Definition at line 47 of file RawDSProcessor.java.
org.sleuthkit.autopsy.datasourceprocessors.RawDSProcessor.RawDSProcessor | ( | ) |
Definition at line 67 of file RawDSProcessor.java.
void org.sleuthkit.autopsy.datasourceprocessors.RawDSProcessor.cancel | ( | ) |
Requests cancellation of the background task that adds a data source to the case database, after the task is started using the run method. This is a "best effort" cancellation, with no guarantees that the case database will be unchanged. If cancellation succeeded, the list of new data sources returned by the background task will be empty.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.
Definition at line 170 of file RawDSProcessor.java.
int org.sleuthkit.autopsy.datasourceprocessors.RawDSProcessor.canProcess | ( | Path | dataSourcePath | ) | throws AutoIngestDataSourceProcessorException |
Indicates whether the DataSourceProcessor is capable of processing the data source. Returns a confidence value. Method can throw an exception for a system level problem. The exception should not be thrown for an issue related to bad input data.
dataSourcePath | Path to the data source. |
Implements org.sleuthkit.autopsy.datasourceprocessors.AutoIngestDataSourceProcessor.
Definition at line 192 of file RawDSProcessor.java.
String org.sleuthkit.autopsy.datasourceprocessors.RawDSProcessor.getDataSourceType | ( | ) |
Gets a string that describes the type of data sources this processor is able to add to the case database. The string is suitable for display in a type selection UI component (e.g., a combo box).
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.
Definition at line 91 of file RawDSProcessor.java.
JPanel org.sleuthkit.autopsy.datasourceprocessors.RawDSProcessor.getPanel | ( | ) |
Gets the panel that allows a user to select a data source and do any configuration required by the data source. The panel is less than 544 pixels wide and less than 173 pixels high.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.
Definition at line 104 of file RawDSProcessor.java.
|
static |
Gets a string that describes the type of data sources this processor is able to add to the case database. The string is suitable for display in a type selection UI component (e.g., a combo box).
Definition at line 79 of file RawDSProcessor.java.
|
staticprivate |
Definition at line 182 of file RawDSProcessor.java.
boolean org.sleuthkit.autopsy.datasourceprocessors.RawDSProcessor.isPanelValid | ( | ) |
Indicates whether the settings in the selection and configuration panel are valid and complete.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.
Definition at line 118 of file RawDSProcessor.java.
void org.sleuthkit.autopsy.datasourceprocessors.RawDSProcessor.process | ( | String | deviceId, |
Path | dataSourcePath, | ||
DataSourceProcessorProgressMonitor | progressMonitor, | ||
DataSourceProcessorCallback | callBack | ||
) |
Adds a data source to the case database using a background task in a separate thread by calling DataSourceProcessor.run() method. Returns as soon as the background task is started. The background task uses a callback object to signal task completion and return results. Method can throw an exception for a system level problem. The exception should not be thrown for an issue related to bad input data.
deviceId | An ASCII-printable identifier for the device associated with the data source that is intended to be unique across multiple cases (e.g., a UUID). |
dataSourcePath | Path to the data source. |
progressMonitor | Progress monitor that will be used by the background task to report progress. |
callBack | Callback that will be used by the background task to return results. |
Implements org.sleuthkit.autopsy.datasourceprocessors.AutoIngestDataSourceProcessor.
Definition at line 208 of file RawDSProcessor.java.
void org.sleuthkit.autopsy.datasourceprocessors.RawDSProcessor.reset | ( | ) |
Resets the selection and configuration panel for this data source processor.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.
Definition at line 178 of file RawDSProcessor.java.
void org.sleuthkit.autopsy.datasourceprocessors.RawDSProcessor.run | ( | DataSourceProcessorProgressMonitor | progressMonitor, |
DataSourceProcessorCallback | callback | ||
) |
Adds a data source to the case database using a background task in a separate thread and the settings provided by the selection and configuration panel. Returns as soon as the background task is started. The background task uses a callback object to signal task completion and return results.
This method should not be called unless isPanelValid returns true.
progressMonitor | Progress monitor that will be used by the background task to report progress. |
callback | Callback that will be used by the background task to return results. |
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.
Definition at line 137 of file RawDSProcessor.java.
|
private |
Adds a "raw" data source to the case database using a background task in a separate thread and the given settings instead of those provided by the selection and configuration panel. Returns as soon as the background task is started and uses the callback object to signal task completion and return results.
deviceId | An ASCII-printable identifier for the device associated with the data source that is intended to be unique across multiple cases (e.g., a UUID). |
imageFilePath | Path to the image file. |
timeZone | The time zone to use when processing dates and times for the image, obtained from java.util.TimeZone.getID. |
chunkSize | The maximum size of each chunk of the raw data source as it is divided up into virtual unallocated space files. |
progressMonitor | Progress monitor for reporting progress during processing. |
callback | Callback to call when processing is done. |
Definition at line 164 of file RawDSProcessor.java.
|
private |
Definition at line 49 of file RawDSProcessor.java.
|
staticprivate |
Definition at line 59 of file RawDSProcessor.java.
|
staticprivate |
Definition at line 51 of file RawDSProcessor.java.
|
staticprivate |
Definition at line 52 of file RawDSProcessor.java.
|
staticprivate |
Definition at line 50 of file RawDSProcessor.java.
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.