railo.runtime.search.lucene2
Class DocumentUtil
java.lang.Object
railo.runtime.search.lucene2.DocumentUtil
public final class DocumentUtil
- extends Object
creates a matching Document Object to given File
DocumentUtil
public DocumentUtil()
toDocument
public static org.apache.lucene.document.Document toDocument(StringBuffer content,
String root,
URL url,
HTTPResponse method)
throws IOException
- Throws:
IOException
toDocument
public static org.apache.lucene.document.Document toDocument(Resource file,
String url,
String charset)
throws IOException
- translate the file to a Document Object
- Parameters:
file
-
- Returns:
-
- Throws:
InterruptedException
IOException
Copyright © 2012 Railo