Autopsy
4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.
Public Member Functions | |
LocalFilesDSProcessor () | |
void | cancel () |
String | getDataSourceType () |
JPanel | getPanel () |
boolean | isPanelValid () |
void | reset () |
void | run (DataSourceProcessorProgressMonitor progressMonitor, DataSourceProcessorCallback callback) |
void | run (String deviceId, String rootVirtualDirectoryName, List< String > localFilePaths, DataSourceProcessorProgressMonitor progressMonitor, DataSourceProcessorCallback callback) |
void | setDataSourceOptions (String paths) |
Static Public Member Functions | |
static String | getType () |
Private Attributes | |
final LocalFilesPanel | configPanel |
List< String > | localFilePaths |
boolean | setDataSourceOptionsCalled |
Static Private Attributes | |
static final String | DATA_SOURCE_TYPE = NbBundle.getMessage(LocalFilesDSProcessor.class, "LocalFilesDSProcessor.dsType") |
A local/logical files and/or directories 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 LocalFilesDSProcessor.java.
org.sleuthkit.autopsy.casemodule.LocalFilesDSProcessor.LocalFilesDSProcessor | ( | ) |
Constructs a local/logical files and/or directories 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 55 of file LocalFilesDSProcessor.java.
void org.sleuthkit.autopsy.casemodule.LocalFilesDSProcessor.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.
TODO (AUT-1907): Implement cancellation by deleting rows added to the case database.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.
Definition at line 168 of file LocalFilesDSProcessor.java.
String org.sleuthkit.autopsy.casemodule.LocalFilesDSProcessor.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 78 of file LocalFilesDSProcessor.java.
JPanel org.sleuthkit.autopsy.casemodule.LocalFilesDSProcessor.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 91 of file LocalFilesDSProcessor.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 66 of file LocalFilesDSProcessor.java.
boolean org.sleuthkit.autopsy.casemodule.LocalFilesDSProcessor.isPanelValid | ( | ) |
Indicates whether the settings in the selection and configuration panel are valid and complete.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.
Definition at line 104 of file LocalFilesDSProcessor.java.
void org.sleuthkit.autopsy.casemodule.LocalFilesDSProcessor.reset | ( | ) |
Resets the selection and configuration panel for this data source processor.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.
Definition at line 176 of file LocalFilesDSProcessor.java.
void org.sleuthkit.autopsy.casemodule.LocalFilesDSProcessor.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 123 of file LocalFilesDSProcessor.java.
void org.sleuthkit.autopsy.casemodule.LocalFilesDSProcessor.run | ( | String | deviceId, |
String | rootVirtualDirectoryName, | ||
List< String > | localFilePaths, | ||
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.
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). |
rootVirtualDirectoryName | The name to give to the virtual directory that will serve as the root for the local/logical files and/or directories that compose the data source. Pass the empty string to get a default name of the form: LogicalFileSet[N] |
localFilePaths | A list of local/logical file and/or directory localFilePaths. |
progressMonitor | Progress monitor for reporting progress during processing. |
callback | Callback to call when processing is done. |
Definition at line 153 of file LocalFilesDSProcessor.java.
void org.sleuthkit.autopsy.casemodule.LocalFilesDSProcessor.setDataSourceOptions | ( | String | paths | ) |
Sets the configuration of the data source processor without using the configuration panel. The data source processor will assign a UUID to the data source and will use the time zone of the machine executing this code when when processing dates and times for the image.
paths | A list of local/logical file and/or directory localFilePaths. |
Definition at line 194 of file LocalFilesDSProcessor.java.
|
private |
Definition at line 41 of file LocalFilesDSProcessor.java.
|
staticprivate |
Definition at line 40 of file LocalFilesDSProcessor.java.
|
private |
Definition at line 46 of file LocalFilesDSProcessor.java.
|
private |
Definition at line 47 of file LocalFilesDSProcessor.java.
Copyright © 2012-2016 Basis Technology. Generated on: Tue Oct 25 2016
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.