de.surething.lda.locations
Class LocationFactory
java.lang.Object
de.surething.lda.locations.LocationFactory
public class LocationFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocationFactory
public LocationFactory()
instance
public static LocationFactory instance()
getLocations
public List<Location> getLocations()
throws Exception
- If a location could not be identified with a unique Name, it shows a list
of possible Locations. If there is only one Location Identified. There
will be only one Location in the Result. If something goes wrong, an
Exception is thrown.
- Returns:
- A List of identified Locations for this Place
- Throws:
Exception
- If something goes wrong (UnknownHostException i.e.)
Copyright © 2007. All Rights Reserved.