Autopsy  4.14.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.geolocation.datamodel.Route Class Reference

Inherits org.sleuthkit.autopsy.geolocation.datamodel.GeoPath.

Classes

class  RoutePoint
 

Public Member Functions

String getLabel ()
 
List< Waypoint.Property > getOtherProperties ()
 
final List< WaypointgetPath ()
 
List< WaypointgetRoute ()
 
Long getTimestamp ()
 

Static Public Member Functions

static List< RoutegetRoutes (SleuthkitCase skCase) throws GeoLocationDataException
 
static List< TrackgetTracks (SleuthkitCase skCase, List<?extends Content > sourceList) throws GeoLocationDataException
 

Private Member Functions

void createRoute (BlackboardArtifact artifact, Map< BlackboardAttribute.ATTRIBUTE_TYPE, BlackboardAttribute > attributeMap) throws GeoLocationDataException
 
Waypoint getRouteEndPoint (BlackboardArtifact artifact, Map< BlackboardAttribute.ATTRIBUTE_TYPE, BlackboardAttribute > attributeMap) throws GeoLocationDataException
 
Waypoint getRouteStartPoint (BlackboardArtifact artifact, Map< BlackboardAttribute.ATTRIBUTE_TYPE, BlackboardAttribute > attributeMap) throws GeoLocationDataException
 

Private Attributes

final List< Waypoint.Property > propertiesList
 
final Long timestamp
 

Detailed Description

A Route represents a TSK_GPS_ROUTE artifact which has a start and end point however the class was written with the assumption that routes may have more than two points.

Definition at line 38 of file Route.java.

Member Function Documentation

void org.sleuthkit.autopsy.geolocation.datamodel.Route.createRoute ( BlackboardArtifact  artifact,
Map< BlackboardAttribute.ATTRIBUTE_TYPE, BlackboardAttribute >  attributeMap 
) throws GeoLocationDataException
private

Gets the route waypoint attributes from the map and creates the list of route waypoints.

Parameters
artifactRoute artifact
attributeMapMap of artifact attributes
Exceptions
GeoLocationDataException

Definition at line 109 of file Route.java.

References org.sleuthkit.autopsy.geolocation.datamodel.GeoPath.getLabel(), org.sleuthkit.autopsy.geolocation.datamodel.Route.getRouteEndPoint(), and org.sleuthkit.autopsy.geolocation.datamodel.Route.getRouteStartPoint().

String org.sleuthkit.autopsy.geolocation.datamodel.GeoPath.getLabel ( )
inherited
List<Waypoint.Property> org.sleuthkit.autopsy.geolocation.datamodel.Route.getOtherProperties ( )

Get the "Other attributes" for this route. The map will contain display name, formatted value pairs. This list is unmodifiable.

Returns
Map of key, value pairs.

Definition at line 84 of file Route.java.

References org.sleuthkit.autopsy.geolocation.datamodel.Route.propertiesList.

Referenced by org.sleuthkit.autopsy.report.modules.kml.KMLReport.getFormattedDetails().

final List<Waypoint> org.sleuthkit.autopsy.geolocation.datamodel.GeoPath.getPath ( )
inherited

Get the list of way points for this route;

Returns
List an unmodifiableList of ArtifactWaypoints for this route

Definition at line 120 of file GeoPath.java.

Referenced by org.sleuthkit.autopsy.report.modules.kml.KMLReport.addTrackToReport(), org.sleuthkit.autopsy.geolocation.datamodel.Route.getRoute(), and org.sleuthkit.autopsy.geolocation.datamodel.WaypointBuilder.getWaypointForArtifact().

List<Waypoint> org.sleuthkit.autopsy.geolocation.datamodel.Route.getRoute ( )
Waypoint org.sleuthkit.autopsy.geolocation.datamodel.Route.getRouteEndPoint ( BlackboardArtifact  artifact,
Map< BlackboardAttribute.ATTRIBUTE_TYPE, BlackboardAttribute >  attributeMap 
) throws GeoLocationDataException
private

Get the route End point.

An exception will be thrown if longitude or latitude is null.

Parameters
artifact
attributeMapMap of artifact attributes for this waypoint
Returns
The end waypoint
Exceptions
GeoLocationDataException

Definition at line 186 of file Route.java.

Referenced by org.sleuthkit.autopsy.geolocation.datamodel.Route.createRoute().

static List<Route> org.sleuthkit.autopsy.geolocation.datamodel.GeoPath.getRoutes ( SleuthkitCase  skCase) throws GeoLocationDataException
staticinherited

Gets the list of Routes from the TSK_GPS_ROUTE artifacts.

Parameters
skCaseCurrently open SleuthkitCase
Returns
List of Route objects, empty list will be returned if no Routes were found
Exceptions
GeoLocationDataException

Definition at line 49 of file GeoPath.java.

Waypoint org.sleuthkit.autopsy.geolocation.datamodel.Route.getRouteStartPoint ( BlackboardArtifact  artifact,
Map< BlackboardAttribute.ATTRIBUTE_TYPE, BlackboardAttribute >  attributeMap 
) throws GeoLocationDataException
private

Get the route start point.

Parameters
artifact
attributeMapMap of artifact attributes for this waypoint.

An exception will be thrown if longitude or latitude is null.

Returns
Start waypoint
Exceptions
GeoLocationDataException.

Definition at line 154 of file Route.java.

Referenced by org.sleuthkit.autopsy.geolocation.datamodel.Route.createRoute().

Long org.sleuthkit.autopsy.geolocation.datamodel.Route.getTimestamp ( )
static List<Track> org.sleuthkit.autopsy.geolocation.datamodel.GeoPath.getTracks ( SleuthkitCase  skCase,
List<?extends Content >  sourceList 
) throws GeoLocationDataException
staticinherited

Gets the list of Routes from the TSK_GPS_TRACK artifacts.

Parameters
skCaseCurrently open SleuthkitCase
sourceListList of source to return tracks from, maybe null to return tracks from all sources
Returns
List of Route objects, empty list will be returned if no Routes were found
Exceptions
GeoLocationDataException

Definition at line 77 of file GeoPath.java.

Member Data Documentation

final List<Waypoint.Property> org.sleuthkit.autopsy.geolocation.datamodel.Route.propertiesList
private
final Long org.sleuthkit.autopsy.geolocation.datamodel.Route.timestamp
private

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

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