Home » lucene-3.0.1 » org.apache » lucene » demo » [javadoc | source]
org.apache.lucene.demo
public class: IndexFiles [javadoc | source]
java.lang.Object
   org.apache.lucene.demo.IndexFiles
Index all text files under a directory.
Field Summary
static final  File INDEX_DIR     
Method from org.apache.lucene.demo.IndexFiles Summary:
indexDocs,   main
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.demo.IndexFiles Detail:
 static  void indexDocs(IndexWriter writer,
    File file) throws IOException 
 public static  void main(String[] args) 
    Index all text files under a directory.