parsing data

How do i write a class that when called, it will get data from a server and print it out in html format
[110 byte] By [newbie084a] at [2007-11-27 6:10:05]
# 1
By using an editor and a compiler.
quittea at 2007-7-12 17:14:56 > top of Java-index,Java Essentials,Java Programming...
# 2
With a code editor and a compilerSeriously, you've just summed up the vast majority of j2ee applications!
georgemca at 2007-7-12 17:14:56 > top of Java-index,Java Essentials,Java Programming...
# 3
> With a code editor and a compilerlol
quittea at 2007-7-12 17:14:56 > top of Java-index,Java Essentials,Java Programming...
# 4
> > With a code editor and a compiler> > lolHeh heh "great minds" rears it's head again
georgemca at 2007-7-12 17:14:56 > top of Java-index,Java Essentials,Java Programming...
# 5
You may want this: http://java.sun.com/j2se/1.5.0/docs/api/java/net/HttpURLConnection.htmlBut, you didn't specify HTTP. Maybe FTP, Telnet, or the SIP protocol? Maybe you can write a class to ruthlessly shake the server until some bits of data fall out ;).
kevjavaa at 2007-7-12 17:14:56 > top of Java-index,Java Essentials,Java Programming...