java.lang.Object
cz.krystofcejchan.lite_weather_lib.weather_objects.WeatherObject

public final class WeatherObject
extends Object
Universal object from which you can get to more detailed objects Request, NearestArea, WeatherForecast, CurrentCondition, which lead to another even more detailed objects or class fields
Version:
17
Author:
krystof-cejchan
  • Constructor Details

  • Method Details

    • getDays

      public DAY[] getDays()
      Returns:
      provided days in constructor
    • getTimes

      public TIME[] getTimes()
      Returns:
      provided TIMEs in constructor
    • getJson

      public org.json.JSONObject getJson()
      Returns:
      json as JSONObject
    • getJsonAsText

      public String getJsonAsText()
      Returns:
      JSONObject as String
    • getCurrentCondition

      public CurrentCondition getCurrentCondition()
      Returns:
      CurrentCondition object
    • getNearestArea

      public NearestArea getNearestArea()
      Returns:
      Nearest Area object
    • getRequest

      public Request getRequest()
      Returns:
      Request object
    • getWeatherForecast

      public WeatherForecast getWeatherForecast()
      Returns:
      WeatherForecast object
    • getLocation

      public String getLocation()
      Returns:
      location from constructor
    • print

      public void print()
      prints current object.toString to the console
    • toString

      public String toString()
      Overrides:
      toString in class Object