|
Sharkysoft home | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.io.InputStream
|
+--java.io.FilterInputStream
|
+--lava.io.UrlInputStream
Reads from URL-specified source.
Details: This is a convenience class that allows quick creation of an InputStream from a URL string. Simply pass the URL to the constructor and the newly constructed instance is an input stream that reads from the resulting URL.
| Fields inherited from class java.io.FilterInputStream |
in |
| Constructor Summary | |
UrlInputStream(java.lang.String url)
Sets source URL. |
|
| Methods inherited from class java.io.FilterInputStream |
available, close, mark, markSupported, read, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UrlInputStream(java.lang.String url)
throws java.io.IOException
Details: This constructor sets the URL of the resource from which this InputStream reads.
url - the URLjava.io.IOException - if the resource cannot be read
|
Sharkysoft home | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||