NASA World Wind

gov.nasa.worldwind.poi
Class POIUtils

java.lang.Object
  extended by gov.nasa.worldwind.poi.POIUtils

public class POIUtils
extends Object

Utilites for working with points of interest and gazetteers.


Constructor Summary
POIUtils()
           
 
Method Summary
static String callService(String urlString)
          Invoke a point-of-interest service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POIUtils

public POIUtils()
Method Detail

callService

public static String callService(String urlString)
                          throws NoItemException,
                                 ServiceException
Invoke a point-of-interest service.

Parameters:
urlString - the URL to use to invoke the service.
Returns:
the service results.
Throws:
NoItemException - if HTTP_BAD_REQUEST is returned from the service.
ServiceException - if there is a problem invoking the service or retrieving its results.

NASA World Wind