net.nutch.tools
Class DumpSegment

java.lang.Object
  extended bynet.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

Field Summary
static Logger LOG
           
 
Constructor Summary
DumpSegment(String directory)
           
 
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
 

Field Detail

LOG

public static final Logger LOG
Constructor Detail

DumpSegment

public DumpSegment(String directory)
Method Detail

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.