org.apache.nutch.crawl
Class LinkDbReader
java.lang.Object
org.apache.nutch.crawl.LinkDbReader
- All Implemented Interfaces:
- Closeable
- public class LinkDbReader
- extends Object
- implements Closeable
.
Field Summary |
static org.apache.commons.logging.Log |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
LinkDbReader
public LinkDbReader(FileSystem fs,
Path directory,
Configuration conf)
getAnchors
public String[] getAnchors(UTF8 url)
throws IOException
- Throws:
IOException
getInlinks
public Inlinks getInlinks(UTF8 url)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Throws:
IOException
processDumpJob
public static void processDumpJob(String linkdb,
String output,
Configuration config)
throws IOException
- Throws:
IOException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2006 The Apache Software Foundation