diff options
author | 2015-01-14 23:26:38 -0800 | |
---|---|---|
committer | 2015-01-14 23:26:48 -0800 | |
commit | 686d0e22b545808486cadb4d1e1a272515ecc7fd (patch) | |
tree | f2c7dc5c0349079a959f7365eda6844fd98e5e3f /src/java/com/libmailcore/AbstractMessage.java | |
parent | dfd76892dbab3b7fdc8dd6e12a2f262b1445a3bc (diff) |
Work in progress on javadoc
Diffstat (limited to 'src/java/com/libmailcore/AbstractMessage.java')
-rw-r--r-- | src/java/com/libmailcore/AbstractMessage.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/java/com/libmailcore/AbstractMessage.java b/src/java/com/libmailcore/AbstractMessage.java index 0f995193..7eb2a9af 100644 --- a/src/java/com/libmailcore/AbstractMessage.java +++ b/src/java/com/libmailcore/AbstractMessage.java @@ -2,13 +2,24 @@ package com.libmailcore; import java.util.List; +/** Abstract message. */ public class AbstractMessage extends NativeObject { + /** Header of the message. */ public native MessageHeader header(); + /** Sets the header of the message. */ public native void setHeader(MessageHeader header); + /** Returns the MIME part with the given Content-ID. */ public native AbstractPart partForContentID(String contentID); + /** + Returns the MIME part with the given uniqueID. + @see AbtractPart#uniqueID() + */ public native AbstractPart partForUniqueID(String uniqueID); + /** Returns the list of attachments, not part of the content of the message. */ public native List<AbstractPart> attachments(); + /** Returns the list of attachments that are shown inline in the content of the message. */ public native List<AbstractPart> htmlInlineAttachments(); + /** Returns the list of the text parts required to render the message properly. */ public native List<AbstractPart> requiredPartsForRendering(); } |