anl.fusion.example
Class FederalistDocCreator

java.lang.Object
  extended by anl.fusion.example.FederalistDocCreator

public class FederalistDocCreator
extends java.lang.Object

A utility for making Lucene Documents from a File.


Constructor Summary
FederalistDocCreator()
           
 
Method Summary
 org.apache.lucene.document.Document createDocument(java.io.File file)
           
 java.util.List<org.apache.lucene.document.Document> createDocuments(java.io.File dir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FederalistDocCreator

public FederalistDocCreator()
Method Detail

createDocuments

public java.util.List<org.apache.lucene.document.Document> createDocuments(java.io.File dir)
                                                                    throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

createDocument

public org.apache.lucene.document.Document createDocument(java.io.File file)
                                                   throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException