org.apache.lucene.ant
public class TextDocument extends Object
Since: December 6, 2001
UNKNOWN: Fix JavaDoc comments here
Constructor Summary | |
---|---|
TextDocument(File file)
Constructor for the TextDocument object
|
Method Summary | |
---|---|
static Document | Document(File f)
Makes a document for a File. |
String | getContents() |
Parameters: file Description of Parameter
Throws: IOException Description of Exception
The document has a single field:
contents
--containing the full contents
of the file, as a Text field;
Parameters: f Description of Parameter
Returns: Description of the Returned Value
Throws: IOException Description of Exception
Returns: The contents value
UNKNOWN: finish this method