Exemple #1
0
 private void downloadForecast(final Station station) {
   String url = UrlBuildersForOpenWeatherMap.buildUrlForForecastDownload(station.getId());
   getDataDownloaderForForecast(station).downloadData(url);
 }
Exemple #2
0
 public void downloadClosestStations(LatLng stationLatLng, int numberOfStations) {
   String url =
       UrlBuildersForOpenWeatherMap.buildUrlForClosestStationsSearch(
           stationLatLng, numberOfStations);
   getDataDownloaderForStations().downloadData(url);
 }
Exemple #3
0
 public void downloadWeather(final Station station) {
   String url = UrlBuildersForOpenWeatherMap.buildUrlForStationDownload(station.getId());
   getDataDownloaderForStation().downloadData(url);
 }