URL openStream() method
A alternate way of opening just a one-way, read-only network connection is to use the method openStream() provided by the URL class. The openStream() method establishes a network connection using the given URL and returns an instance of the class InputStream. URL’s openStream() method is actually a convenience method that creates a URLConnection object and calls its getInputStream() method. The openStream() command may generate some IOExceptions .
Next... page 11-5