net.nutch.tools
Class DumpSegment
java.lang.Object
net.nutch.tools.DumpSegment
- public class DumpSegment
- extends Object
Dump FetcherOutput, ParseData and ParseText for every record in one segment.
Output is sorted by url. Useful for debugging.
- Author:
- John Xing
Method Summary |
protected void |
dump()
|
static void |
main(String[] args)
|
protected void |
sort()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final Logger LOG
DumpSegment
public DumpSegment(String directory)
dump
protected void dump()
throws IOException
- Throws:
IOException
sort
protected void sort()
throws IOException
- Throws:
IOException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2004 The Nutch Organization.