gate.creole.annic.lucene
Class LuceneReader
java.lang.Object
java.io.Reader
java.io.BufferedReader
gate.creole.annic.lucene.LuceneReader
- All Implemented Interfaces:
- Closeable, Readable
public class LuceneReader
- extends BufferedReader
A Reader that stores the document to read and the token stream
associated with it.
- Author:
- niraj
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneReader
public LuceneReader(Document gateDoc,
ArrayList tokenStream)
- Constructor
- Parameters:
gateDoc - tokenStream -
getDocument
public Document getDocument()
- Gets the document object
- Returns:
getTokenStream
public ArrayList getTokenStream()
- Gets the token stream associated with this reader
- Returns: