railo.runtime.search.lucene2.docs
Class PlainDocument

java.lang.Object
  extended by railo.runtime.search.lucene2.docs.PlainDocument

public final class PlainDocument
extends Object

A utility for making Lucene Documents from a File.


Method Summary
static org.apache.lucene.document.Document Document(Resource f, String charset)
          Makes a document for a File.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

Document

public static org.apache.lucene.document.Document Document(Resource f,
                                                           String charset)
                                                    throws IOException
Makes a document for a File.

The document has three fields:



Copyright © 2012 Railo