Close
dtSearch Engine API for Java
FileConverter.setDocText Method
Syntax
Java
public void setDocText(String newText);

Use setDocText to provide text associated with the input document, to highlight hits in data as it was passed through the DataSource API's getDocText method during indexing. DocText content is always interpreted as plain text. Data in a format that includes tags, such as HTML or RTF, should be passed through DocBytes.