## org.autoplot.hapiserver.HapiServerSupport

## HapiServerSupport( )

getCatalog( ) → JSONArray [view source]

## getCatalogIds

getCatalogIds( ) → java.util.List

return the list of datasets available at the server

### Returns:

list of dataset ids
[search for examples] [view on GitHub] [view on old javadoc]
getExampleRange( JSONObject info ) → DatumRange [view source]

## getRange

getRange( JSONObject info ) → DatumRange

return the range of available data. For example, Polar/Hydra data is available from 1996-03-20 to 2008-04-15.

### Parameters

info - a JSONObject

### Returns:

the range of available data, or null if it is not available.
[search for examples] [view on GitHub] [view on old javadoc]

## readJSON

readJSON( java.io.File jsonFile ) → JSONObject

read the JSONObject from the file.

### Parameters

jsonFile - file containing JSONObject.

### Returns:

the JSONObject
[search for examples] [view on GitHub] [view on old javadoc]