MIMEHeader (Java)

Represents a header in a MIME (Multipurpose Internet Mail Extensions) document.

Note: This class is new with Release 6.

Syntax

public class MIMEHeader extends Base

Containment

Contained by: MIMEEntity

Properties

HeaderName through getHeaderName

Methods

addValText

getHeaderVal

getHeaderValAndParams

getParamVal

remove

setHeaderVal

setHeaderValAndParams

setParamVal

Access

Use getHeaderObjects in NotesMIMEEntity to get all the headers associated with a MIME entity.

Use getNthHeader in NotesMIMEEntity to get the headers of a specified name associated with a MIME entity.

Use createHeader in NotesMIMEEntity to create a header.

Usage

A MIME header consists of a name, value, and parameters as defined in RFC-822 and RFC-2045. A MIME entity can contain any number of headers.

Example