Package nwsWeatherApi
Class ZoneForecast
java.lang.Object
nwsWeatherApi.Forecast
nwsWeatherApi.ZoneForecast
Wraps the ZoneForecastGeoJson schema of the NWS API.
- Author:
- cobalt
-
Constructor Summary
ConstructorsConstructorDescriptionZoneForecast(com.github.cliftonlabs.json_simple.JsonObject obj) Constructs a ZoneForecast from a valid JSON of the ZoneForecastGeoJson schema of the NWS API.ZoneForecast(String zone) Constructs a ZoneForecast from the zone's code. -
Method Summary
Methods inherited from class nwsWeatherApi.Forecast
getForecast, toString
-
Constructor Details
-
ZoneForecast
public ZoneForecast(com.github.cliftonlabs.json_simple.JsonObject obj) Constructs a ZoneForecast from a valid JSON of the ZoneForecastGeoJson schema of the NWS API.- Parameters:
obj-
-
ZoneForecast
Constructs a ZoneForecast from the zone's code.- Parameters:
zone-
-