@@ -0,0 +1,899 @@
+package fr.tvbarthel.apps.simpleweatherforcast.utils;%0A%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.IOException;%0Aimport java.io.InputStreamReader;%0Aimport java.net.MalformedURLException;%0Aimport java.net.URL;%0Aimport java.net.URLConnection;%0A%0Apublic class URLUtils %7B%0A%0A%09public static String getAsString(String urlString) throws MalformedURLException, IOException %7B%0A%09%09final URL url = new URL(urlString);%0A%09%09final URLConnection connection = url.openConnection();%0A%09%09connection.setUseCaches(false);%0A%09%09connection.setConnectTimeout(5000);%0A%09%09connection.setReadTimeout(10000);%0A%0A%09%09final BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(connection.getInputStream()));%0A%09%09final StringBuilder stringBuilder = new StringBuilder();%0A%09%09String line;%0A%09%09while ((line = bufferedReader.readLine()) != null) %7B%0A%09%09%09line += %22%5Cn%22;%0A%09%09%09stringBuilder.append(line);%0A%09%09%7D%0A%09%09return stringBuilder.toString();%0A%09%7D%0A%7D%0A

Add URLUtils for future uses.