public abstract class TimeseriesUtil
extends Object
Modifier and Type | Method and Description |
---|---|
static String |
convertTimeseriesDataListToJsonString(List<TimeseriesData> timeseriesDataList)
Convert list of TimeSeriesData objects to JSON array String
|
static List<TimeseriesData> |
getTimeSeriesDataList(String timeSeriesDataString)
Processes the timeseries result data and converts it into list of
TimeSeriesData objects
|
public static List<TimeseriesData> getTimeSeriesDataList(String timeSeriesDataString) throws MindsphereClientException
timeSeriesDataString
- timeseries result dataMindsphereClientException
- thrown if JSONException occurspublic static String convertTimeseriesDataListToJsonString(List<TimeseriesData> timeseriesDataList)
timeseriesDataList
- list of TimeSeriesData objects