Thomas Darimont
Erfahrenes Mitglied
Hallo,
... für Debuggingzwecke ganz hilfreich
schaut mal hier:
Gruß Tom
... für Debuggingzwecke ganz hilfreich
schaut mal hier:
Java:
package de.tutorials;
import java.net.URL;
import java.util.Scanner;
public class StreamToStringInOneLine {
public static void main(String[] args) throws Exception{
System.out.println(new Scanner(new URL("http://www.google.de").openStream()).useDelimiter("\\A").next());
}
}
Gruß Tom