Extracting the Stream from a URL
public class URLConnectionReader {
(String[] args) throws Exception {
new URL("http://www.cc.gatech.edu/");
URLConnection uc = myURL .openConnection();
BufferedReader in = new BufferedReader
/* see also getOutputStream() */
while ((inputLine = in.readLine()) != null)
System.out.println(inputLine);