org.apache.nutch.crawl
Class LinkDbReader

java.lang.Object
  extended byorg.apache.nutch.crawl.LinkDbReader
All Implemented Interfaces:
Closeable

public class LinkDbReader
extends Object
implements Closeable

.


Field Summary
static org.apache.commons.logging.Log LOG
           
 
Constructor Summary
LinkDbReader(FileSystem fs, Path directory, Configuration conf)
           
 
Method Summary
 void close()
           
 String[] getAnchors(UTF8 url)
           
 Inlinks getInlinks(UTF8 url)
           
static void main(String[] args)
           
static void processDumpJob(String linkdb, String output, Configuration config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG
Constructor Detail

LinkDbReader

public LinkDbReader(FileSystem fs,
                    Path directory,
                    Configuration conf)
Method Detail

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