Witam
Mam problem takiego typu:
Pobieram pewne dane z internetu o określonym adresie www.
Wszystko ładnie się pobiera , jednak występują miejscami długie stringi,
których nie da się załadować metodą readLine do zmiennej typu String.
Gdy program na trafia na taką linie ,podczas wyświetlani jej informuje
.....line is too long please switch to wrapped to see whole line ...
O to fragment kodu
BufferedReader br = null;
try {
adres = adres.trim();
HttpURLConnection connection = (HttpURLConnection) new URL(adres).openConnection();
InputStream is = connection.getInputStream();
br = new BufferedReader(new InputStreamReader(is));
String line;
while ((line = br.readLine())!= null) {
System.out.println(line);
}
} catch (Exception e) {
e.printStackTrace();}
proszę o pomoc