Text (Item - Java)

Read-only. A plain text representation of an item's value.

Defined in

Item

Data type

String

Syntax

public String getText()
    throws NotesException
public String getText(int maxlen)
    throws NotesException

Parameters

int maxlen

Maximum length of returned text.

Usage

Multiple values in a list are separated by semicolons in the returned string. If an item's value is large, the returned string may be truncated.

For rich-text items, this property skips non-text data such as bitmaps and file attachments.

For HTML items, this property returns null.

Example