addText

addText(String text) method

Adds plain text to the html files, replacing special characters with html entities. Linebreaks and whitespaces aren’t replaced.

Parameters

NameTypeDescription
textStringText to add.

Returns

void


addText(char[] text) method

Adds plain text to the html files, replacing special characters with html entities. Linebreaks and whitespaces aren’t replaced.

Parameters

NameTypeDescription
textchar[]Text to add.

Returns

void


addText(char[] text, int startIndex, int length) method

Adds plain text to the html files, replacing special characters with html entities. Linebreaks and whitespaces aren’t replaced.

Parameters

NameTypeDescription
textchar[]Text to add.
startIndexintStart index of the portion to add.
lengthintLength of the portion to add.

Returns

void