Create a URL object. Use the URL argument in the bufferedReader() method to read from the url.
Create a URL object. Use the URL argument in the openStream() method to create an InputStream. Create a BufferedReader stream out of InputStream. Read from the BufferedReader.
Create an InputStream object. Use the InputStream in the bufferedReader() method to read from the url.
|