MimeMessage.RecipientType
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
fromLine
The From_ line associated with this message.
|
protected static java.lang.String |
STATUS
Status header key.
|
cachedContent, content, contentStream, dh, flags, headers, modified, saved
ATTACHMENT, INLINE
Modifier | Constructor and Description |
---|---|
protected |
MboxMessage(MboxFolder folder,
MimeMessage message,
int msgnum)
Creates a Mbox message.
|
protected |
MboxMessage(MboxFolder folder,
java.lang.String fromLine,
java.io.InputStream in,
int msgnum)
Creates a Mbox message.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
protected void |
setExpunged(boolean expunged)
Allow MboxFolder access to set the expunged flag after expunge.
|
void |
setFlags(Flags flag,
boolean set)
Set the specified flags(reflected in the
Status header). |
protected void |
updateHeaders()
Updates the status header from the current flags.
|
addHeader, addHeaderLine, removeHeader, saveChanges, setContent, setContent, setHeader
addFrom, addRecipients, addRecipients, createInternetHeaders, createMimeMessage, getAllHeaderLines, getAllHeaders, getAllRecipients, getContent, getContentID, getContentLanguage, getContentMD5, getContentStream, getContentType, getDataHandler, getDescription, getDisposition, getEncoding, getFileName, getFlags, getFrom, getHeader, getHeader, getInputStream, getLineCount, getMatchingHeaderLines, getMatchingHeaders, getMessageID, getNonMatchingHeaderLines, getNonMatchingHeaders, getRawInputStream, getReceivedDate, getRecipients, getReplyTo, getSender, getSentDate, getSize, getSubject, isMimeType, isSet, parse, reply, reply, setContentID, setContentLanguage, setContentMD5, setDataHandler, setDescription, setDescription, setDisposition, setFileName, setFrom, setFrom, setFrom, setRecipients, setRecipients, setReplyTo, setSender, setSentDate, setSubject, setSubject, setText, setText, setText, updateMessageId, writeTo, writeTo
addRecipient, getFolder, getMessageNumber, getSession, isExpunged, match, setFlag, setMessageNumber, setRecipient
protected static final java.lang.String STATUS
protected java.lang.String fromLine
protected MboxMessage(MboxFolder folder, java.lang.String fromLine, java.io.InputStream in, int msgnum) throws MessagingException
MessagingException
protected MboxMessage(MboxFolder folder, MimeMessage message, int msgnum) throws MessagingException
MessagingException
protected void setExpunged(boolean expunged)
setExpunged
in class Message
public void setFlags(Flags flag, boolean set) throws MessagingException
Status
header).setFlags
in class gnu.mail.providers.ReadOnlyMessage
flag
- the flags to be setset
- the value to be setIllegalWriteException
- if the underlying implementation
does not support modification of existing valuesMessagingException
protected void updateHeaders() throws MessagingException
updateHeaders
in class MimeMessage
MessagingException
MimeBodyPart.updateHeaders()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object