addText

addText(String text) function

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

Parameters

NameTypeDescription
textStringText to add.

addText(char[] text) function

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.

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

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.