public class POIUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DEFAULT_CHARSET_NAME |
Constructor and Description |
---|
POIUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
callService(java.lang.String urlString)
Invoke a point-of-interest service.
|
protected static java.lang.String |
decodeBuffer(java.nio.ByteBuffer buffer,
java.lang.String charsetName) |
protected static java.lang.String |
getCharsetName(java.lang.String contentType) |
protected static final java.lang.String DEFAULT_CHARSET_NAME
public static java.lang.String callService(java.lang.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 java.lang.String decodeBuffer(java.nio.ByteBuffer buffer, java.lang.String charsetName)
protected static java.lang.String getCharsetName(java.lang.String contentType)