ReadFromURLExample
-- reading material from a URL and displaying only selected lines.
To see this example in action:
Compile the Java source file, ReadFromURLExample.java:
javac ReadFromURLExample.java
Run the class:
java ReadFromURLExample
The source.