org.hibernate.lucene
Class DocumentBuilder<T>

java.lang.Object
  extended by org.hibernate.lucene.DocumentBuilder<T>

public class DocumentBuilder<T>
extends Object


Constructor Summary
DocumentBuilder(Class clazz, org.apache.lucene.analysis.Analyzer analyzer, File indexDir)
           
 
Method Summary
 org.apache.lucene.analysis.Analyzer getAnalyzer()
           
 org.apache.lucene.document.Document getDocument(T instance, Serializable id)
           
 File getFile()
           
 org.apache.lucene.index.Term getTerm(Serializable id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentBuilder

public DocumentBuilder(Class clazz,
                       org.apache.lucene.analysis.Analyzer analyzer,
                       File indexDir)
Method Detail

getDocument

public org.apache.lucene.document.Document getDocument(T instance,
                                                       Serializable id)

getTerm

public org.apache.lucene.index.Term getTerm(Serializable id)

getFile

public File getFile()

getAnalyzer

public org.apache.lucene.analysis.Analyzer getAnalyzer()