org.apache.lucene.benchmark.byTask.feeds
Class LineDocSource.LineParser
java.lang.Object
org.apache.lucene.benchmark.byTask.feeds.LineDocSource.LineParser
- Direct Known Subclasses:
- LineDocSource.HeaderLineParser, LineDocSource.SimpleLineParser
- Enclosing class:
- LineDocSource
public abstract static class LineDocSource.LineParser
- extends Object
Reader of a single input line into DocData
.
Method Summary |
abstract void |
parseLine(DocData docData,
String line)
parse an input line and fill doc data appropriately |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
header
protected final String[] header
LineDocSource.LineParser
public LineDocSource.LineParser(String[] header)
- Construct with the header
- Parameters:
header
- header line found in the input file, or null if none
parseLine
public abstract void parseLine(DocData docData,
String line)
- parse an input line and fill doc data appropriately
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.