getContentAsText (MIMEEntity - Java)

Gets the content of the current MIME entity as text.

Note: This method is new with Release 6.

Defined in

MIMEEntity

Syntax

public void getContentAsText(Stream stream) 
     throws NotesException
public void getContentAsText(Stream stream, boolean decoded) 
     throws NotesException

Parameters

Stream stream

Output medium for the text.

boolean decoded

Specify true (default) to decode the content, false to leave any encoding in place.

Usage

This method sets the stream at end of stream.

Usage

To get the MIME content as a String object, see the ContentAsText property.

The signatures for this method have the same name as the signature for the ContentAsText property.

Example