Skip to Content
Former Member
May 29, 2005 at 07:36 AM

How to use the readLine() method when reading data from a URL?



I have a URL which contains text input.

The only way to get the data from this URL is by opening a URL connection to it.

I would like to get the data from this URL but at the same time I would like to be able to use readLine() method of BufferedReader in order to read the data line by line.

My question is how do I combine between these two requirements in order to reed the data from the URL?