public class POIUtils extends Object
| Modifier and Type | Field and Description | 
|---|---|
protected static String | 
DEFAULT_CHARSET_NAME  | 
| Constructor and Description | 
|---|
POIUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static String | 
callService(String urlString)
Invoke a point-of-interest service. 
 | 
protected static String | 
decodeBuffer(ByteBuffer buffer,
            String charsetName)  | 
protected static String | 
getCharsetName(String contentType)  | 
protected static final String DEFAULT_CHARSET_NAME
public static String callService(String urlString) throws NoItemException, ServiceException
urlString - the URL to use to invoke the service.NoItemException - if HTTP_BAD_REQUEST is returned from the service.ServiceException - if there is a problem invoking the service or retrieving its results.protected static String decodeBuffer(ByteBuffer buffer, String charsetName)