Class APIReaders.WeatherForecastRunnable

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    APIReaders

    public static class APIReaders.WeatherForecastRunnable
    extends java.lang.Object
    implements java.lang.Runnable
    • Field Detail

      • ssl_exception

        public boolean ssl_exception
    • Constructor Detail

      • WeatherForecastRunnable

        public WeatherForecastRunnable​(Context context,
                                       java.util.ArrayList<Weather.WeatherLocation> weatherLocations)
    • Method Detail

      • setWeatherLocations

        public void setWeatherLocations​(java.util.ArrayList<Weather.WeatherLocation> weatherLocations)
      • getLastestDMOUrl

        public java.lang.String getLastestDMOUrl​(Context context,
                                                 java.lang.String stationName)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • onStart

        public void onStart()
      • onNegativeResult

        public void onNegativeResult()
      • onPositiveResult

        public void onPositiveResult()
      • onPositiveResult

        public void onPositiveResult​(java.util.ArrayList<RawWeatherInfo> rawWeatherInfos)
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable