Go to the documentation of this file.
20package org.sleuthkit.autopsy.geolocation.datamodel;
22import java.util.ArrayList;
23import java.util.Collections;
25import java.util.logging.Level;
26import org.sleuthkit.autopsy.coreutils.Logger;
27import org.sleuthkit.datamodel.BlackboardArtifact;
28import org.sleuthkit.datamodel.Content;
29import org.sleuthkit.datamodel.SleuthkitCase;
30import org.sleuthkit.datamodel.TskCoreException;
53 List<BlackboardArtifact> artifacts =
null;
55 artifacts = skCase.getBlackboardArtifacts(BlackboardArtifact.ARTIFACT_TYPE.TSK_GPS_ROUTE);
56 }
catch (TskCoreException ex) {
60 List<Route> routes =
new ArrayList<>();
61 for (BlackboardArtifact
artifact : artifacts) {
81 List<BlackboardArtifact> artifacts =
null;
82 boolean allParsedSuccessfully =
true;
83 List<Track> tracks =
new ArrayList<>();
85 artifacts = skCase.getBlackboardArtifacts(BlackboardArtifact.ARTIFACT_TYPE.TSK_GPS_TRACK);
86 for (BlackboardArtifact
artifact : artifacts) {
87 if (sourceList ==
null || sourceList.contains(
artifact.getDataSource())) {
92 LOGGER.log(Level.WARNING,
"Error loading track from artifact with ID " +
artifact.getArtifactID(), e);
93 allParsedSuccessfully =
false;
97 }
catch (TskCoreException ex) {
116 List<BlackboardArtifact> artifacts;
117 boolean allParsedSuccessfully =
true;
118 List<Area> areas =
new ArrayList<>();
120 artifacts = skCase.getBlackboardArtifacts(BlackboardArtifact.ARTIFACT_TYPE.TSK_GPS_AREA);
121 for (BlackboardArtifact
artifact : artifacts) {
122 if (sourceList ==
null || sourceList.contains(
artifact.getDataSource())) {
127 LOGGER.log(Level.WARNING,
"Error loading track from artifact with ID " +
artifact.getArtifactID(), e);
128 allParsedSuccessfully =
false;
132 }
catch (TskCoreException ex) {
145 this.waypointList =
new ArrayList<>();
155 final void addToPath(
Waypoint point) {
synchronized static Logger getLogger(String name)
final List< Waypoint > getPath()
final BlackboardArtifact artifact
final List< Waypoint > waypointList
static GeoLocationParseResult< Track > getTracks(SleuthkitCase skCase, List<? extends Content > sourceList)
static final Logger LOGGER
static List< Route > getRoutes(SleuthkitCase skCase)
static GeoLocationParseResult< Area > getAreas(SleuthkitCase skCase, List<? extends Content > sourceList)
final BlackboardArtifact getArtifact()
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.