public class AbstractMessage extends NativeObject
Constructor and Description |
---|
AbstractMessage() |
Modifier and Type | Method and Description |
---|---|
java.util.List<AbstractPart> |
attachments()
Returns the list of attachments, not part of the content of the message.
|
MessageHeader |
header()
Returns the header of the message.
|
java.util.List<AbstractPart> |
htmlInlineAttachments()
Returns the list of attachments that are shown inline in the content of the message.
|
AbstractPart |
partForContentID(java.lang.String contentID)
Returns the MIME part with the given Content-ID.
|
AbstractPart |
partForUniqueID(java.lang.String uniqueID)
Returns the MIME part with the given uniqueID.
|
java.util.List<AbstractPart> |
requiredPartsForRendering()
Returns the list of the text parts required to render the message properly.
|
void |
setHeader(MessageHeader header)
Sets the header of the message.
|
clone, finalize, initWithNative, readObject, toString, writeObject
public MessageHeader header()
public void setHeader(MessageHeader header)
public AbstractPart partForContentID(java.lang.String contentID)
AbstractPart.contentID()
public AbstractPart partForUniqueID(java.lang.String uniqueID)
AbstractPart.uniqueID()
public java.util.List<AbstractPart> attachments()
public java.util.List<AbstractPart> htmlInlineAttachments()
public java.util.List<AbstractPart> requiredPartsForRendering()