## org.autoplot.hapi.HapiUtil

utility classes for Autoplot's HAPI handling

## HapiUtil( )

## KEY_DEFINITIONS

## KEY_PARAMETERS

## KEY_REF

## KEY_PARAMETER

## KEY_BINS

## KEY_RANGES

## KEY_CENTERS

## KEY_LENGTH

## KEY_SIZE

## KEY_LABEL

## KEY_FILL

## KEY_UNITS

## KEY_TYPE

## KEY_X_COLOR_LOOKUP

extentions supported follow

## cacheFolder

cacheFolder( java.net.URL url, String id ) → java.io.File

return the folder containing data for this id.

### Parameters

url - the hapi URL, such as http://jfaden.net/HapiServerDemo/hapi
id - the ID, such as "Iowa City Conditions"

### Returns:

the folder containing the cache.
[search for examples] [view on GitHub] [view on old javadoc]

## resolveRefs

resolveRefs( JSONObject jo ) → JSONObject

resolve references within the JSON. These references must be to the definitions node. TODO: This is not complete, and does not go into bins object.

### Parameters

jo - the JSONObject returned by the "info" request.

### Returns:

a JSONObject

### See Also:

https://sourceforge.net/p/autoplot/feature-requests/696/
[search for examples] [view on GitHub] [view on old javadoc]