|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sadun.util.HTMLAnchorIterator
A class to efficiently parse and find anchors in an HTML stream.
Nested Class Summary | |
class |
HTMLAnchorIterator.URLsCollection
A classt to hold the results of a HTMLAnchorIterator HTMLAnchorIterator#getURLs() operation, containing both string
URLs which can be successfully translated to URL objects and ones which
can't. |
Constructor Summary | |
HTMLAnchorIterator(java.io.Reader r)
Create an anchor iterator over the given reader. |
Method Summary | |
HTMLAnchorIterator.URLsCollection |
getURLs(java.net.URL context)
|
boolean |
hasNext()
|
java.lang.Object |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HTMLAnchorIterator(java.io.Reader r)
Method Detail |
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
public HTMLAnchorIterator.URLsCollection getURLs(java.net.URL context) throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |