getSomeHeaders (MIMEEntity - Java)

Returns specified headers for a MIME entity as one string.

Note: This method is new with Release 6.

Defined in

MIMEEntity

Syntax

public String getSomeHeaders()
     throws NotesException
public String getSomeHeaders(java.util.Vector headerFilters)
     throws NotesException
public String getSomeHeaders(java.util.Vector headerFilters, boolean inclusive)
     throws NotesException

Parameters

java.util.Vector headerFilters

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

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.

Return value

String

The headers.

Usage

If you specify no parameters, this method is the same as Headers.

Representation is as one string with new lines separating the headers.

Example