anl.aida.ae.lucene
Class LuceneTests.TestReaderProducer

java.lang.Object
  extended by anl.aida.ae.lucene.LuceneTests.TestReaderProducer
All Implemented Interfaces:
ReaderProducer
Enclosing class:
LuceneTests

static class LuceneTests.TestReaderProducer
extends java.lang.Object
implements ReaderProducer


Constructor Summary
LuceneTests.TestReaderProducer()
           
 
Method Summary
 java.io.Reader getReader(org.apache.lucene.document.Document doc)
          Gets a reader to read content based on information in the doc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneTests.TestReaderProducer

LuceneTests.TestReaderProducer()
Method Detail

getReader

public java.io.Reader getReader(org.apache.lucene.document.Document doc)
Description copied from interface: ReaderProducer
Gets a reader to read content based on information in the doc. For example, the content may be some fields in the document.

Specified by:
getReader in interface ReaderProducer
Parameters:
doc - the doc
Returns:
a reader to read content based on information in the doc.