public static void main(String argv[]) throws java.io.IOException
{
URL u = new URL(argv[0]);
Object o = u.getContent();
System.out.println(o.toString());
}
}
Written in NetRexx:
say URL(arg).getcontent
Need more proof? Try this one then:
page=URL(arg).getcontent
pagereader=BufferedReader(InputStreamReader(InputStream page))
loop forever
line=pagereader.readLine
if line <> null then say line
else exit 0
end