Autopsy  4.16.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
org.sleuthkit.autopsy.geolocation.GeoFilterPanel.DataSourceUpdater Class Reference

Inherits SwingWorker< Sources, Void >.

Public Member Functions

void done ()
 

Protected Member Functions

Sources doInBackground () throws Exception
 

Private Member Functions

long getGPSDataCount (SleuthkitCase sleuthkitCase, DataSource dataSource, BlackboardArtifact.ARTIFACT_TYPE artifactType) throws TskCoreException
 
Map< ARTIFACT_TYPE, Long > getGPSDataSources (SleuthkitCase sleuthkitCase, DataSource dataSource) throws TskCoreException
 
ImageIcon getImageIcon (int artifactTypeId)
 

Detailed Description

SwingWorker for updating the list of valid data sources.

doInBackground creates a list of Pair objects that contain the display name of the data source and the data source object.

Definition at line 473 of file GeoFilterPanel.java.

Member Function Documentation

Sources org.sleuthkit.autopsy.geolocation.GeoFilterPanel.DataSourceUpdater.doInBackground ( ) throws Exception
protected
void org.sleuthkit.autopsy.geolocation.GeoFilterPanel.DataSourceUpdater.done ( )
long org.sleuthkit.autopsy.geolocation.GeoFilterPanel.DataSourceUpdater.getGPSDataCount ( SleuthkitCase  sleuthkitCase,
DataSource  dataSource,
BlackboardArtifact.ARTIFACT_TYPE  artifactType 
) throws TskCoreException
private

Get a count of artifacts of the given type containing GPS data for the given data case and source. Does not include rejected artifacts.

Parameters
sleuthkitCase
dataSource
artifactType
Returns
The artifacts count that match the criteria
Exceptions
TskCoreException

Definition at line 508 of file GeoFilterPanel.java.

Referenced by org.sleuthkit.autopsy.geolocation.GeoFilterPanel.DataSourceUpdater.getGPSDataSources().

Map<ARTIFACT_TYPE, Long> org.sleuthkit.autopsy.geolocation.GeoFilterPanel.DataSourceUpdater.getGPSDataSources ( SleuthkitCase  sleuthkitCase,
DataSource  dataSource 
) throws TskCoreException
private

Returns a Map representing the number of sources found for each artifact type. If no data was found, an empty map is returned.

Parameters
sleuthkitCaseThe current sleuthkitCase
dataSource
Returns
True if the data source as at least one TSK_GPS_XXXX
Exceptions
TskCoreException

Definition at line 555 of file GeoFilterPanel.java.

References org.sleuthkit.autopsy.geolocation.GeoFilterPanel.DataSourceUpdater.getGPSDataCount().

Referenced by org.sleuthkit.autopsy.geolocation.GeoFilterPanel.DataSourceUpdater.doInBackground().

ImageIcon org.sleuthkit.autopsy.geolocation.GeoFilterPanel.DataSourceUpdater.getImageIcon ( int  artifactTypeId)
private

Returns a new ImageIcon for the given artifact type ID representing the type's waypoint color

Parameters
artifactTypeIdThe artifact type id
Returns
the ImageIcon

Definition at line 574 of file GeoFilterPanel.java.

Referenced by org.sleuthkit.autopsy.geolocation.GeoFilterPanel.DataSourceUpdater.done().


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

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