Package org.apache.nutch.crawl
Class Inlinks
java.lang.Object
org.apache.nutch.crawl.Inlinks
- All Implemented Interfaces:
Writable
A list of
Inlinks.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Inlinks
public Inlinks()
-
-
Method Details
-
add
-
add
-
iterator
-
size
public int size() -
clear
public void clear() -
readFields
- Specified by:
readFieldsin interfaceWritable- Throws:
IOException
-
write
- Specified by:
writein interfaceWritable- Throws:
IOException
-
toString
-
getAnchors
Get all anchor texts. Only a single anchor with a given text is permitted from a given domain.- Returns:
- the set of anchor texts.
-