org.apache.lucene.ant
Class TextDocument
public class TextDocument
A utility for making Lucene Documents from a File.
- Fix JavaDoc comments here
TextDocument(File file) - Constructor for the TextDocument object
|
TextDocument
public TextDocument(File file)
throws IOException
Constructor for the TextDocument object
file
- Description of Parameter
Document
public static Document Document(File f)
throws IOException
Makes a document for a File.
The document has a single field:
-
contents
--containing the full contents
of the file, as a Text field;
f
- Description of Parameter
- Description of the Returned Value
getContents
public String getContents()
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.