![]() |
![]() |
![]() |
![]() |
![]() |
|
Next, you can use the location description, an instance of the
URL class, as the target of the getContent method.
The getContent method returns an object instance that can be cast
into an instance of the InputStream class:
InputStream stream= (InputStream) (url.getContent())
--------------------------------
^
*-- An input stream