|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.parser.HyperLinks
public class HyperLinks
| Field Summary | |
|---|---|
private java.util.Map |
links
|
| Constructor Summary | |
|---|---|
protected |
HyperLinks()
|
| Method Summary | |
|---|---|
protected void |
addLink(java.lang.String url,
java.lang.String alt2)
|
java.util.Iterator |
getAnchors()
Description of the Method |
java.lang.String |
getAnchorText(java.lang.String url2)
Gets the anchorText attribute of the HTMLParser object |
java.lang.String |
getAnchorText(java.net.URL url)
Gets the anchorText attribute of the HTMLParser object |
java.util.Map |
getLinkMap()
Description of the Method |
java.util.Iterator |
getLinks()
Description of the Method |
int |
getNumLinks()
Description of the Method |
java.util.Iterator |
getURLs()
Return the URL-Strings for all the URLs extracted from the document |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.Map links
| Constructor Detail |
|---|
protected HyperLinks()
| Method Detail |
|---|
public java.util.Map getLinkMap()
public java.util.Iterator getLinks()
public int getNumLinks()
public java.util.Iterator getURLs()
public java.lang.String getAnchorText(java.lang.String url2)
url - Description of the Parameter
public java.lang.String getAnchorText(java.net.URL url)
url - Description of the Parameter
protected void addLink(java.lang.String url,
java.lang.String alt2)
public java.util.Iterator getAnchors()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||