External Interfaces/API | ![]() ![]() |
Running the Example
When you run this example, you see output similar to the following.
url = http://www.ncsa.uiuc.edu/demoweb/url-primer.html is = java.io.BufferedInputStream@62d isr = java.io.InputStreamReader@67d br = java.io.BufferedReader@644 s = <TITLE>A Beginner's Guide to URLs</TITLE> s = <H1>A Beginner's Guide to URLs</H1> s = '' s = What is a URL? A URL is a <b>Uniform Resource Locator</b>. Think of s = it as a networked extension of the standard <i>filename</i> concept: s = not only can you point to a file in a directory, but that file and s = that directory can exist on any machine on the network, can be served s = via any of several different methods, and might not even be something s = as simple as a file: URLs can also point to queries, documents stored s = deep within databases, the results of a <i>finger</i> or <i>archie</i>
![]() | Description of URLdemo | Example - Finding an Internet Protocol Address | ![]() |