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

Inherits org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.

Public Member Functions

 LocalDiskDSProcessor ()
 
void cancel ()
 
String getDataSourceType ()
 
JPanel getPanel ()
 
boolean isPanelValid ()
 
void reset ()
 
void run (DataSourceProcessorProgressMonitor progressMonitor, DataSourceProcessorCallback callback)
 
void run (String deviceId, String drivePath, String timeZone, boolean ignoreFatOrphanFiles, DataSourceProcessorProgressMonitor progressMonitor, DataSourceProcessorCallback callback)
 
void setDataSourceOptions (String drivePath, String timeZone, boolean ignoreFatOrphanFiles)
 

Static Public Member Functions

static String getType ()
 

Private Member Functions

void run (String deviceId, String drivePath, int sectorSize, String timeZone, boolean ignoreFatOrphanFiles, DataSourceProcessorProgressMonitor progressMonitor, DataSourceProcessorCallback callback)
 

Private Attributes

AddImageTask addDiskTask
 
final LocalDiskPanel configPanel
 
String deviceId
 
String drivePath
 
boolean ignoreFatOrphanFiles
 
ImageWriterSettings imageWriterSettings
 
int sectorSize
 
boolean setDataSourceOptionsCalled
 
String timeZone
 

Static Private Attributes

static final String DATA_SOURCE_TYPE = NbBundle.getMessage(LocalDiskDSProcessor.class, "LocalDiskDSProcessor.dsType.text")
 

Detailed Description

A local drive 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 38 of file LocalDiskDSProcessor.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.LocalDiskDSProcessor ( )

Constructs a local drive 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 61 of file LocalDiskDSProcessor.java.

Member Function Documentation

void org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.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 206 of file LocalDiskDSProcessor.java.

String org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.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).

Returns
A data source type display string for this data source processor.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.

Definition at line 84 of file LocalDiskDSProcessor.java.

JPanel org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.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.

Returns
A selection and configuration panel for this data source processor.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.

Definition at line 97 of file LocalDiskDSProcessor.java.

static String org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.getType ( )
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).

Returns
A data source type display string for this data source processor.

Definition at line 72 of file LocalDiskDSProcessor.java.

boolean org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.isPanelValid ( )

Indicates whether the settings in the selection and configuration panel are valid and complete.

Returns
True if the settings are valid and complete and the processor is ready to have its run method called, false otherwise.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.

Definition at line 110 of file LocalDiskDSProcessor.java.

void org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.reset ( )

Resets the selection and configuration panel for this data source processor.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.

Definition at line 217 of file LocalDiskDSProcessor.java.

void org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.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.

Parameters
progressMonitorProgress monitor that will be used by the background task to report progress.
callbackCallback that will be used by the background task to return results.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.

Definition at line 129 of file LocalDiskDSProcessor.java.

void org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.run ( String  deviceId,
String  drivePath,
String  timeZone,
boolean  ignoreFatOrphanFiles,
DataSourceProcessorProgressMonitor  progressMonitor,
DataSourceProcessorCallback  callback 
)

Adds a 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.

Parameters
deviceIdAn ASCII-printable identifier for the device associated with the data source that is intended to be unique across multiple cases (e.g., a UUID).
drivePathPath to the local drive.
timeZoneThe time zone to use when processing dates and times for the image, obtained from java.util.TimeZone.getID.
ignoreFatOrphanFilesWhether to parse orphans if the image has a FAT filesystem.
progressMonitorProgress monitor for reporting progress during processing.
callbackCallback to call when processing is done.

Definition at line 167 of file LocalDiskDSProcessor.java.

void org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.run ( String  deviceId,
String  drivePath,
int  sectorSize,
String  timeZone,
boolean  ignoreFatOrphanFiles,
DataSourceProcessorProgressMonitor  progressMonitor,
DataSourceProcessorCallback  callback 
)
private

Adds a 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.

Parameters
deviceIdAn ASCII-printable identifier for the device associated with the data source that is intended to be unique across multiple cases (e.g., a UUID).
drivePathPath to the local drive.
sectorSizeThe sector size (use '0' for autodetect).
timeZoneThe time zone to use when processing dates and times for the image, obtained from java.util.TimeZone.getID.
ignoreFatOrphanFilesWhether to parse orphans if the image has a FAT filesystem.
progressMonitorProgress monitor for reporting progress during processing.
callbackCallback to call when processing is done.

Definition at line 193 of file LocalDiskDSProcessor.java.

void org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.setDataSourceOptions ( String  drivePath,
String  timeZone,
boolean  ignoreFatOrphanFiles 
)

Sets the configuration of the data source processor without using the configuration panel.

Parameters
drivePathPath to the local drive.
timeZoneThe time zone to use when processing dates and times for the local drive, obtained from java.util.TimeZone.getID.
ignoreFatOrphanFilesWhether to parse orphans if the image has a FAT filesystem.
Deprecated:
Use the provided overload of the run method instead.

Definition at line 239 of file LocalDiskDSProcessor.java.

Member Data Documentation

AddImageTask org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.addDiskTask
private

Definition at line 42 of file LocalDiskDSProcessor.java.

final LocalDiskPanel org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.configPanel
private

Definition at line 41 of file LocalDiskDSProcessor.java.

final String org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.DATA_SOURCE_TYPE = NbBundle.getMessage(LocalDiskDSProcessor.class, "LocalDiskDSProcessor.dsType.text")
staticprivate

Definition at line 40 of file LocalDiskDSProcessor.java.

String org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.deviceId
private

Definition at line 47 of file LocalDiskDSProcessor.java.

String org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.drivePath
private

Definition at line 48 of file LocalDiskDSProcessor.java.

boolean org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.ignoreFatOrphanFiles
private

Definition at line 52 of file LocalDiskDSProcessor.java.

ImageWriterSettings org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.imageWriterSettings
private

Definition at line 51 of file LocalDiskDSProcessor.java.

int org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.sectorSize
private

Definition at line 49 of file LocalDiskDSProcessor.java.

boolean org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.setDataSourceOptionsCalled
private

Definition at line 53 of file LocalDiskDSProcessor.java.

String org.sleuthkit.autopsy.casemodule.LocalDiskDSProcessor.timeZone
private

Definition at line 50 of file LocalDiskDSProcessor.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.