getPrevEntity (MIMEEntity - Java)

Returns the MIME entity immediately preceding the current MIME entity within a multipart entity.

Note: This method is new with Release 6.

Defined in

MIMEEntity

Syntax

public MIMEEntity getPrevEntity( ) 
     throws NotesException
public MIMEEntity getPrevEntity(int search) 
     throws NotesException

Parameters

int search
  • MIMEEntity.SEARCH_DEPTH (default) searches in reverse order from getNextEntity with SEARCH_DEPTH.
  • MIMEEntity.SEARCH_BREADTH searches in reverse order from getNextEntity with SEARCH_BREADTH.

Return value

MIMEEntity

The previous MIME entity or null.

Example