Neokernel API

IMessage Methods

The methods of the IMessage interface are listed below. For a complete list of IMessage interface members, see the IMessage Members topic.

Public Instance Methods

getHeaderInfo getHeaderInfo returns the value of the header associated with key, if any
removeAllHeaders getHeaders yields an Enumeration of header keys associated with an IMessage getMessage returns the message body of an IMessage removeAllHeaders removes all headers from an IMessage
setHeaderInfo setHeaderInfo sets the value of a specified header for an IMessage, adding the header if necessary
ToString setMessage sets the value of the message body for an IMessage toString yields the String representation of an IMessage. Classes implementing IMessage are required to supply a ToString() method

See Also

IMessage Interface | com.neokernel.email Namespace