public class GmailMessage extends IMAPMessage
IMAPMessage.FetchProfileConditionMimeMessage.RecipientTypebs, envelope, items, sectionIdcontent, contentStream, dh, flags, headers, modified, savedATTACHMENT, INLINE| Modifier | Constructor and Description |
|---|---|
protected |
GmailMessage(IMAPFolder folder,
int msgnum)
Constructor.
|
protected |
GmailMessage(Session session)
Constructor, for use by IMAPNestedMessage.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getLabels()
Return the Gmail labels assocaited with this message.
|
long |
getMsgId()
Return the Gmail unique message ID.
|
long |
getThrId()
Return the Gmail unique thread ID.
|
addFrom, addHeader, addHeaderLine, addRecipients, checkExpunged, fetchItem, forceCheckExpunged, getAllHeaderLines, getAllHeaders, getContentID, getContentLanguage, getContentMD5, getContentStream, getContentType, getDataHandler, getDescription, getDisposition, getEncoding, getFetchBlockSize, getFileName, getFlags, getFrom, getHeader, getHeader, getInReplyTo, getItem, getLineCount, getMatchingHeaderLines, getMatchingHeaders, getMessageCacheLock, getMessageID, getMimeStream, getNonMatchingHeaderLines, getNonMatchingHeaders, getPeek, getProtocol, getReceivedDate, getRecipients, getReplyTo, getSender, getSentDate, getSequenceNumber, getSize, getSubject, getUID, handleExtensionFetchItems, handleFetchItem, ignoreBodyStructureSize, invalidateHeaders, isREV1, isSet, removeHeader, setContentID, setContentLanguage, setContentMD5, setDataHandler, setDescription, setDisposition, setExpunged, setFileName, setFlags, setFrom, setHeader, setMessageNumber, setPeek, setRecipients, setReplyTo, setSender, setSentDate, setSubject, setUID, writeToaddRecipients, createInternetHeaders, createMimeMessage, getAllRecipients, getContent, getInputStream, getRawInputStream, isMimeType, parse, reply, saveChanges, setContent, setContent, setDescription, setFrom, setRecipients, setSubject, setText, setText, setText, updateHeaders, updateMessageID, writeToaddRecipient, getFolder, getMessageNumber, isExpunged, match, setFlag, setRecipientprotected GmailMessage(IMAPFolder folder, int msgnum)
protected GmailMessage(Session session)
public long getMsgId()
throws MessagingException
MessagingExceptionpublic long getThrId()
throws MessagingException
MessagingExceptionpublic String[] getLabels() throws MessagingException
MessagingExceptionCopyright © 2013 Oracle. All Rights Reserved.