getParamVal (MIMEHeader - Java)

Returns the value of a header parameter.

Defined in

MIMEHeader

Syntax

public String getParamVal(String paramName)
     throws NotesException
public String getParamVal(String paramName, boolean folded)
     throws NotesException

Parameters

String

The parameter name.

boolean folded
  • true formats for multi-line representation per the RFC-822 concept of folding
  • false (default) formats for single-line representation per the RFC-822 concept of unfolding

Return value

String

The parameter value.

Usage

Folding terminates the header with a CRLF. Depending on length (1024 for X-Notes-Item headers and 78 for other headers), folding inserts CRLFs to break the header into multiple lines. Folding also inserts CRLFs after semicolons and commas. Unfolding removes all CRLFs.

Example