|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectWebPageReader
public class WebPageReader
| Constructor Summary | |
|---|---|
WebPageReader(String s)
Constructor that takes a url as a string |
|
| Method Summary | |
|---|---|
String |
getType()
The type of the material at the other end of the URL is the contentType from the URLConnection |
String |
nextLine()
Next line gets the next line from the material at the other end of the URL. |
boolean |
readyToRead()
A WebPageReader is ready to read if the stream is ready |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebPageReader(String s)
s - the url as a string| Method Detail |
|---|
public boolean readyToRead()
public String getType()
public String nextLine()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||