ContentAsText (MIMEEntity - Java)

Read-only. The content of a MIME entity in text format.

Defined in

MIMEEntity

Data type

String

Syntax

public String getContentAsText( )
     throws NotesException

Usage

No data conversion occurs except: a non-encoded text entity that is not US-ASCII is converted to Unicode. Non-text data returns as-is which may present problems in further manipulation. For example, data containing a null character will probably be truncated at the null character during string manipulation.

For the parent entity in a multipart entity, this property returns the preamble. See Preamble.

To get the MIME content as text in a Stream object, see getContentAsText.

The signature for this property has the same name as the signatures for the getContentAsText method.

Example