Getting URL contents »
By Ramakrishna on Dec 12, 2008 in URL Class | 0 Comments
After you create a URL, you will probably want to fetch contents. The easiest way to do this is by calling the getContent method
public final Object getContent()
This first method requires that you define a content handler for the content returned by the URL
The following example dumps the content of a URL to the System.out.stream by [...]
