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

Inherits org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor, and org.sleuthkit.autopsy.datasourceprocessors.AutoIngestDataSourceProcessor.

Classes

class  XRYReportProcessorSwingWorker
 

Public Member Functions

 XRYDataSourceProcessor ()
 
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)
 

Private Attributes

final XRYDataSourceProcessorConfigPanel configPanel
 
XRYReportProcessorSwingWorker swingWorker
 

Static Private Attributes

static final Logger logger = Logger.getLogger(XRYDataSourceProcessor.class.getName())
 
static final int XRY_FILES_DEPTH = 1
 

Detailed Description

An XRY Report data source processor.

Definition at line 63 of file XRYDataSourceProcessor.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.XRYDataSourceProcessor ( )

Definition at line 75 of file XRYDataSourceProcessor.java.

Member Function Documentation

void org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.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 255 of file XRYDataSourceProcessor.java.

int org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.canProcess ( Path  dataSourcePath) throws AutoIngestDataSourceProcessorException

Tests if the given path is an XRY Folder.

This function assumes the calling thread has sufficient privileges to read the folder and its child content.

Parameters
dataSourcePathPath to test
Returns
100 if the folder passes the XRY Folder check, 0 otherwise.
Exceptions
AutoIngestDataSourceProcessorExceptionif an I/O error occurs during disk reads.

Implements org.sleuthkit.autopsy.datasourceprocessors.AutoIngestDataSourceProcessor.

Definition at line 175 of file XRYDataSourceProcessor.java.

String org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.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 83 of file XRYDataSourceProcessor.java.

JPanel org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.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 88 of file XRYDataSourceProcessor.java.

boolean org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.isPanelValid ( )

Tests the selected path.

This functions checks permissions to the path directly and then to each of its top most children, if it is a folder.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.

Definition at line 107 of file XRYDataSourceProcessor.java.

void org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.process ( String  deviceId,
Path  dataSourcePath,
DataSourceProcessorProgressMonitor  progressMonitor,
DataSourceProcessorCallback  callBack 
)

Processes the XRY Folder encountered in an auto-ingest context. The heavy lifting is done off of the EDT, so this function will return while the path is still being processed.

This function assumes the calling thread has sufficient privileges to read the folder and its child content.

Parameters
deviceId
dataSourcePath
progressMonitor
callBack

Implements org.sleuthkit.autopsy.datasourceprocessors.AutoIngestDataSourceProcessor.

Definition at line 236 of file XRYDataSourceProcessor.java.

References org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorCallback.DataSourceProcessorResult.CRITICAL_ERRORS, org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorCallback.done(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorProgressMonitor.setIndeterminate().

void org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.reset ( )

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

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.

Definition at line 262 of file XRYDataSourceProcessor.java.

void org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.run ( DataSourceProcessorProgressMonitor  progressMonitor,
DataSourceProcessorCallback  callback 
)

Processes the XRY folder that the examiner selected. The heavy lifting is done off of the EDT, so this function will return while the path is still being processed.

This function assumes the calling thread has sufficient privileges to read the folder and its child content, which should have been validated in isPanelValid().

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessor.

Definition at line 199 of file XRYDataSourceProcessor.java.

References org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorCallback.DataSourceProcessorResult.CRITICAL_ERRORS, org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorCallback.done(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.corecomponentinterfaces.DataSourceProcessorProgressMonitor.setIndeterminate().

Member Data Documentation

final XRYDataSourceProcessorConfigPanel org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.configPanel
private

Definition at line 65 of file XRYDataSourceProcessor.java.

final Logger org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.logger = Logger.getLogger(XRYDataSourceProcessor.class.getName())
staticprivate

Definition at line 73 of file XRYDataSourceProcessor.java.

XRYReportProcessorSwingWorker org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.swingWorker
private

Definition at line 71 of file XRYDataSourceProcessor.java.

final int org.sleuthkit.autopsy.datasourceprocessors.xry.XRYDataSourceProcessor.XRY_FILES_DEPTH = 1
staticprivate

Definition at line 67 of file XRYDataSourceProcessor.java.


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

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