public final class DocumentUtil extends Object
Constructor and Description |
---|
DocumentUtil() |
Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.document.Document |
toDocument(Resource file,
String url,
String charset)
translate the file to a Document Object
|
static org.apache.lucene.document.Document |
toDocument(StringBuffer content,
String root,
URL url,
HTTPResponse method) |
public DocumentUtil()
public static org.apache.lucene.document.Document toDocument(StringBuffer content, String root, URL url, HTTPResponse method) throws IOException
IOException
public static org.apache.lucene.document.Document toDocument(Resource file, String url, String charset) throws IOException
file
- InterruptedException
IOException
Copyright © 2015 Lucee