edu.mayo.informatics.indexer.api.test
Class DocumentGenerator

java.lang.Object
  extended by edu.mayo.informatics.indexer.api.test.DocumentGenerator

public class DocumentGenerator
extends java.lang.Object

This class generates random documents for testing the indexer.

Author:
Dan Armbrust

Constructor Summary
DocumentGenerator(java.lang.String dictLocation)
           
 
Method Summary
 org.apache.lucene.document.Document makeDocument()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentGenerator

public DocumentGenerator(java.lang.String dictLocation)
                  throws java.io.IOException
Throws:
java.io.IOException
Method Detail

makeDocument

public org.apache.lucene.document.Document makeDocument()

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.