LineDocSource.LineParser (Lucene 3.6.2 API)
Keywords: org.apache.lucene.benchmark.byTask.feeds.LineDocSource.LineParser class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`.

Field Summary
`protected String[]` | `header`

Constructor Summary
`LineDocSource.LineParser(String[] header)` Construct with the header

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`

Field Detail

### header

    protected final String[] header

Constructor Detail

### LineDocSource.LineParser

    public LineDocSource.LineParser(String[] header)

  Construct with the header

  Parameters:
    `header` - header line found in the input file, or null if none

Method Detail

### parseLine

    public abstract void parseLine(DocData docData,
                                   String line)

  parse an input line and fill doc data appropriately

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD