net.nutch.fetcher
Class Fetcher

java.lang.Object
  extended bynet.nutch.fetcher.Fetcher

public class Fetcher
extends Object

The fetcher. Most of the work is done by plugins.


Field Summary
static Logger LOG
           
 
Constructor Summary
Fetcher(String directory)
           
 
Method Summary
static void main(String[] args)
          Run the fetcher.
 void run()
          Runs the fetcher.
static void setLogLevel(Level level)
          Set the logging level.
 void setThreadCount(int threadCount)
          Set thread count
 void status()
          Display the status of the fetcher run.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final Logger LOG
Constructor Detail

Fetcher

public Fetcher(String directory)
        throws IOException
Method Detail

setThreadCount

public void setThreadCount(int threadCount)
Set thread count


setLogLevel

public static void setLogLevel(Level level)
Set the logging level.


run

public void run()
         throws IOException,
                InterruptedException
Runs the fetcher.

Throws:
IOException
InterruptedException

status

public void status()
Display the status of the fetcher run.


main

public static void main(String[] args)
                 throws Exception
Run the fetcher.

Throws:
Exception


Copyright © 2004 The Nutch Organization.