Autopsy  4.18.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher Class Referenceabstract

Inherits org.sleuthkit.autopsy.geolocation.datamodel.WaypointBuilder.WaypointFilterQueryCallBack.

Inherited by org.sleuthkit.autopsy.datasourcesummary.datamodel.GeolocationSummary.PointFetcher, and org.sleuthkit.autopsy.geolocation.GeolocationTopComponent.WaypointFetcher.

Classes

class  GeoDataSet
 

Public Member Functions

void process (GeoLocationParseResult< Waypoint > waypointResults)
 

Protected Member Functions

 AbstractWaypointFetcher (GeoFilter filters)
 
abstract void handleFilteredWaypointSet (Set< MapWaypoint > mapWaypoints, List< Set< MapWaypoint >> tracks, List< Set< MapWaypoint >> areas, boolean wasEntirelySuccessful)
 

Private Member Functions

GeoDataSet createWaypointList (List< Waypoint > waypoints, List< Track > tracks, List< Area > areas)
 
Long findMostRecentTimestamp (List< Waypoint > points)
 
Long findMostRecentTracks (List< Track > tracks)
 
Long getMostRecent (List< Waypoint > points, List< Track > tracks)
 
List< List< Waypoint > > getTracksInRange (Long timeRangeStart, Long timeRangeEnd, List< Track > tracks)
 
List< WaypointgetWaypointsInRange (Long timeRangeStart, Long timeRangeEnd, List< Waypoint > waypoints)
 

Private Attributes

final GeoFilter filters
 

Static Private Attributes

static final Logger logger = Logger.getLogger(AbstractWaypointFetcher.class.getName())
 

Detailed Description

The business logic for filtering waypoints.

Definition at line 38 of file AbstractWaypointFetcher.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.AbstractWaypointFetcher ( GeoFilter  filters)
protected

Constructs the Waypoint Runner

Parameters
filters

Definition at line 49 of file AbstractWaypointFetcher.java.

References org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.filters.

Member Function Documentation

GeoDataSet org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.createWaypointList ( List< Waypoint waypoints,
List< Track tracks,
List< Area areas 
)
private

Returns a complete list of waypoints including the tracks and areas. Takes into account the current filters and includes waypoints as approprate.

Parameters
waypointsList of waypoints
tracksList of tracks
areasList of areas
Returns
A GeoDataSet object containing a list of waypoints including the tracks and areas based on the current filters.

Definition at line 140 of file AbstractWaypointFetcher.java.

References org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.getMostRecent(), org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.getTracksInRange(), and org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.getWaypointsInRange().

Referenced by org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.process().

Long org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.findMostRecentTimestamp ( List< Waypoint points)
private

Find the latest time stamp in the given list of waypoints.

Parameters
pointsList of Waypoints, required.
Returns
The latest time stamp (seconds from java epoch)

Definition at line 239 of file AbstractWaypointFetcher.java.

Referenced by org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.getMostRecent().

Long org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.findMostRecentTracks ( List< Track tracks)
private

Find the latest time stamp in the given list of tracks.

Parameters
tracksList of Waypoints, required.
Returns
The latest time stamp (seconds from java epoch)

Definition at line 261 of file AbstractWaypointFetcher.java.

Referenced by org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.getMostRecent().

Long org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.getMostRecent ( List< Waypoint points,
List< Track tracks 
)
private

Returns the "most recent" timestamp amount the list of waypoints and track points.

Parameters
pointsList of Waypoints
tracksList of Tracks
Returns
Latest time stamp (seconds from java epoch)

Definition at line 284 of file AbstractWaypointFetcher.java.

References org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.findMostRecentTimestamp(), and org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.findMostRecentTracks().

Referenced by org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.createWaypointList().

List<List<Waypoint> > org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.getTracksInRange ( Long  timeRangeStart,
Long  timeRangeEnd,
List< Track tracks 
)
private

Return a list of lists of waypoints from the given tracks that fall into the given time range. The track start time will used for determining if the whole track falls into the range.

Parameters
timeRangeStartstart timestamp of range (seconds from java epoch)
timeRangeEndstart timestamp of range (seconds from java epoch)
tracksTrack list.
Returns
A list of lists of waypoints corresponding to belong to tracks that exist within the time range.

Definition at line 217 of file AbstractWaypointFetcher.java.

Referenced by org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.createWaypointList().

List<Waypoint> org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.getWaypointsInRange ( Long  timeRangeStart,
Long  timeRangeEnd,
List< Waypoint waypoints 
)
private

Return a list of waypoints that fall into the given time range.

Parameters
timeRangeStartstart timestamp of range (seconds from java epoch)
timeRangeEndstart timestamp of range (seconds from java epoch)
waypointsList of waypoints to filter.
Returns
A list of waypoints that fall into the time range.

Definition at line 189 of file AbstractWaypointFetcher.java.

Referenced by org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.createWaypointList().

abstract void org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.handleFilteredWaypointSet ( Set< MapWaypoint mapWaypoints,
List< Set< MapWaypoint >>  tracks,
List< Set< MapWaypoint >>  areas,
boolean  wasEntirelySuccessful 
)
abstractprotected

Called after all of the MapWaypoints are created from all of the TSK_GPS_XXX objects.

Parameters
mapWaypointsList of filtered MapWaypoints.
tracksThe tracks that were successfully parsed.
areasThe areas that were successfully parsed.
wasEntirelySuccessfulTrue if no errors occurred while processing.

Referenced by org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.process().

void org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.process ( GeoLocationParseResult< Waypoint waypoints)

Member Data Documentation

final GeoFilter org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.filters
private
final Logger org.sleuthkit.autopsy.geolocation.AbstractWaypointFetcher.logger = Logger.getLogger(AbstractWaypointFetcher.class.getName())
staticprivate

Definition at line 40 of file AbstractWaypointFetcher.java.


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

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