I want to create a downloader using JAVA. The idea is givig a URL to the appln ,open that URL download neccessary contents.Then extract all links in that page. process each link recursively using the same process. The output wiil be a .DOC file. My doubts are

1. how open a URL ?
2. how to extract the HTML source of the opened URL?
3. how to download images?

please reply soon.