public class IncomingImapMessage extends AbstractMimeMessage
MimeMessage.RecipientType
DEFAULT_SUFFIX, generateBody, imapService, isMessageInSitesLibrary, MAX_RETRIES, messageFileInfo, serviceRegistry, wrappedMessage
cachedContent, content, contentStream, dh, flags, headers, modified, saved
ATTACHMENT, INLINE
Constructor and Description |
---|
IncomingImapMessage(FileInfo fileInfo,
ServiceRegistry serviceRegistry,
MimeMessage message)
Constructs
IncomingImapMessage object based on MimeMessage |
Modifier and Type | Method and Description |
---|---|
void |
buildMessageInternal()
Method must be implemented in subclasses.
|
protected InputStream |
getContentStream() |
buildMessage, checkParameter, getEmailBodyText, getFlags, getMessageInfo, setFlags, setMessageHeaders, updateMessageID
addFrom, addHeader, addHeaderLine, addRecipients, addRecipients, createInternetHeaders, createMimeMessage, getAllHeaderLines, getAllHeaders, getAllRecipients, getContent, getContentID, getContentLanguage, getContentMD5, getContentType, getDataHandler, getDescription, getDisposition, getEncoding, getFileName, getFrom, getHeader, getHeader, getInputStream, getLineCount, getMatchingHeaderLines, getMatchingHeaders, getMessageID, getNonMatchingHeaderLines, getNonMatchingHeaders, getRawInputStream, getReceivedDate, getRecipients, getReplyTo, getSender, getSentDate, getSize, getSubject, isMimeType, isSet, parse, removeHeader, reply, reply, saveChanges, setContent, setContent, setContentID, setContentLanguage, setContentMD5, setDataHandler, setDescription, setDescription, setDisposition, setFileName, setFrom, setFrom, setFrom, setHeader, setRecipients, setRecipients, setReplyTo, setSender, setSentDate, setSubject, setSubject, setText, setText, setText, updateHeaders, writeTo, writeTo
addRecipient, getFolder, getMessageNumber, getSession, isExpunged, match, setExpunged, setFlag, setMessageNumber, setRecipient
public IncomingImapMessage(FileInfo fileInfo, ServiceRegistry serviceRegistry, MimeMessage message) throws MessagingException
IncomingImapMessage
object based on MimeMessage
fileInfo
- - reference to the FileInfo
object representing the message.serviceRegistry
- - reference to serviceRegistry object.message
- - MimeMessage
MessagingException
public void buildMessageInternal() throws MessagingException
AbstractMimeMessage
buildMessageInternal
in class AbstractMimeMessage
MessagingException
protected InputStream getContentStream() throws MessagingException
getContentStream
in class MimeMessage
MessagingException
Copyright © 2005–2017 Alfresco Software. All rights reserved.