URL.openStream
Class Overview | Class Members |
This Package |
All Packages
public final InputStream openStream() throws IOException
Returns
an input stream for reading from the URL connection.
Description
Opens a connection to this URL and returns an
InputStream for reading from that connection. This
method is a shorthand for:
openConnection().getInputStream()
Exceptions
IOException
if an I/O exception occurs.