getEntityAsText (MIMEEntity - Java)

Gets the headers and content of a MIME entity as text.

Note: This method is new with Release 6.

Defined in

MIMEEntity

Syntax

public void getEntityAsText(Stream stream) 
     throws NotesException
public void getEntityAsText(Stream stream, java.util.Vector headerFilters) 
     throws NotesException
public void getEntityAsText(Stream stream, java.util.Vector headerFilters, boolean inclusive) 
     throws NotesException

Parameters

Stream stream

Output medium for the text.

java.util.Vector headerFilters

Names of headers that may be present in the MIME entity. See the next parameter.

boolean inclusive

Specify:

  • true to include headers that match the names in the previous parameter.
  • false (default) to exclude headers that match the names in the previous parameter.

Usage

Any encoding is left in place.

This method excudes any leading boundary string defined by a multipart parent.

This method sets the stream Position at end of stream.

Example