de.surething.lda.locations
Class LocationFactory

java.lang.Object
  extended by de.surething.lda.locations.LocationFactory

public class LocationFactory
extends Object


Constructor Summary
LocationFactory()
           
 
Method Summary
 List<Location> getLocations()
          If a location could not be identified with a unique Name, it shows a list of possible Locations.
static LocationFactory instance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationFactory

public LocationFactory()
Method Detail

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.