Package se.datadosen.jalbum
Class PlaceService
java.lang.Object
se.datadosen.jalbum.PlaceService
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PlaceService
getPlace
(AlbumObject ao) Get location or null if location not found in file or over cache/networkvoid
load()
lookupLocation
(double lat, double lng) Lookup location using Internet service (currently Geonames)lookupLocation
(String gpsLocation) void
save()
-
Constructor Details
-
PlaceService
public PlaceService()
-
-
Method Details
-
load
- Throws:
IOException
-
save
- Throws:
IOException
-
getPlace
Get location or null if location not found in file or over cache/network- Parameters:
ao
-- Returns:
-
getPlace
- Throws:
IOException
-
getInstance
-
lookupLocation
- Throws:
IOException
-
lookupLocation
Lookup location using Internet service (currently Geonames)- Throws:
IOException
-