20 package org.sleuthkit.autopsy.geolocation.datamodel;
22 import java.util.ArrayList;
23 import java.util.Collections;
24 import java.util.List;
49 List<BlackboardArtifact> artifacts = null;
51 artifacts = skCase.getBlackboardArtifacts(BlackboardArtifact.ARTIFACT_TYPE.TSK_GPS_ROUTE);
52 }
catch (TskCoreException ex) {
56 List<Route> routes =
new ArrayList<>();
57 for (BlackboardArtifact artifact : artifacts) {
77 List<BlackboardArtifact> artifacts = null;
78 boolean allParsedSuccessfully =
true;
79 List<Track> tracks =
new ArrayList<>();
81 artifacts = skCase.getBlackboardArtifacts(BlackboardArtifact.ARTIFACT_TYPE.TSK_GPS_TRACK);
82 for (BlackboardArtifact artifact : artifacts) {
83 if (sourceList == null || sourceList.contains(artifact.getDataSource())) {
85 tracks.add(
new Track(artifact));
88 allParsedSuccessfully =
false;
92 }
catch (TskCoreException ex) {
104 GeoPath(BlackboardArtifact artifact, String pathName) {
105 this.waypointList =
new ArrayList<>();
115 final void addToPath(
Waypoint point) {
116 waypointList.add(point);
125 return Collections.unmodifiableList(waypointList);
143 return pathName != null ? pathName :
"";
static List< Route > getRoutes(SleuthkitCase skCase)
final List< Waypoint > waypointList
static GeoLocationParseResult< Track > getTracks(SleuthkitCase skCase, List<?extends Content > sourceList)
final BlackboardArtifact getArtifact()
final BlackboardArtifact artifact
final List< Waypoint > getPath()