Class APIReaders.WeatherForecastRunnable
- java.lang.Object
-
- de.kaffeemitkoffein.tinyweatherforecastgermany.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 Summary
Fields Modifier and Type Field Description boolean
ssl_exception
-
Constructor Summary
Constructors Constructor Description WeatherForecastRunnable(Context context, java.util.ArrayList<Weather.WeatherLocation> weatherLocations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLastestDMOUrl(Context context, java.lang.String stationName)
void
onNegativeResult()
void
onPositiveResult()
void
onPositiveResult(java.util.ArrayList<RawWeatherInfo> rawWeatherInfos)
void
onStart()
void
run()
void
setWeatherLocations(java.util.ArrayList<Weather.WeatherLocation> weatherLocations)
-
-
-
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 interfacejava.lang.Runnable
-
-