|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.nutch.fetcher.Fetcher
The fetcher. Most of the work is done by plugins.
Note by John Xing: As of 20041022, option -noParsing is introduced. Without this option, fetcher behaves the old way, i.e., it not only crawls but also parses content. With option -noParsing, fetcher does crawl only. Use ParseSegment.java to parse fetched contents. Check FetcherOutput.java and ParseSegment.java for further description.
Nested Class Summary | |
static class |
Fetcher.FetcherStatus
|
Field Summary | |
static Logger |
LOG
|
Constructor Summary | |
Fetcher(NutchFileSystem nfs,
String directory,
boolean parsing)
|
Method Summary | |
Fetcher.FetcherStatus |
getStatus()
|
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 |
public static final Logger LOG
Constructor Detail |
public Fetcher(NutchFileSystem nfs, String directory, boolean parsing) throws IOException
Method Detail |
public void setThreadCount(int threadCount)
public static void setLogLevel(Level level)
public void run() throws IOException, InterruptedException
IOException
InterruptedException
public Fetcher.FetcherStatus getStatus()
public void status()
public static void main(String[] args) throws Exception
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |