org.galagosearch.core.parse
Class DocumentIndexReader

java.lang.Object
  extended by org.galagosearch.core.parse.DocumentIndexReader

public class DocumentIndexReader
extends java.lang.Object

Author:
trevor

Nested Class Summary
 class DocumentIndexReader.Iterator
           
 
Constructor Summary
DocumentIndexReader(IndexReader reader)
           
DocumentIndexReader(java.lang.String fileName)
           
 
Method Summary
 void close()
           
 Document getDocument(java.lang.String key)
           
 DocumentIndexReader.Iterator getIterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentIndexReader

public DocumentIndexReader(java.lang.String fileName)
                    throws java.io.FileNotFoundException,
                           java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException

DocumentIndexReader

public DocumentIndexReader(IndexReader reader)
Method Detail

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

getIterator

public DocumentIndexReader.Iterator getIterator()
                                         throws java.io.IOException
Throws:
java.io.IOException

getDocument

public Document getDocument(java.lang.String key)
                     throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2009. All Rights Reserved.