Package alt.javax.mail.internet
Interface MimeMessage
-
- All Superinterfaces:
Message
- All Known Implementing Classes:
MimeMessageImpl,MockMimeMessage
public interface MimeMessage extends Message
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddHeaderLine(java.lang.String s)voidaddRecipient(javax.mail.Message.RecipientType type, Address address)voidaddRecipients(javax.mail.Message.RecipientType type, java.lang.String s)java.util.EnumerationgetAllHeaderLines()Address[]getAllRecipients()java.lang.StringgetContentID()java.lang.String[]getContentLanguage()java.lang.StringgetContentMD5()java.lang.StringgetEncoding()FoldergetFolder()java.lang.StringgetHeader(java.lang.String s, java.lang.String s1)java.util.EnumerationgetMatchingHeaderLines(java.lang.String[] strings)java.lang.StringgetMessageID()intgetMessageNumber()java.util.EnumerationgetNonMatchingHeaderLines(java.lang.String[] strings)java.io.InputStreamgetRawInputStream()Address[]getReplyTo()booleanisExpunged()booleanisSet(Flags.Flag flag)booleanmatch(SearchTerm term)voidsetContentID(java.lang.String s)voidsetContentLanguage(java.lang.String[] strings)voidsetContentMD5(java.lang.String s)voidsetDescription(java.lang.String s, java.lang.String s1)voidsetFlag(Flags.Flag flag, boolean b)voidsetRecipient(javax.mail.Message.RecipientType type, Address address)voidsetRecipients(javax.mail.Message.RecipientType type, java.lang.String s)voidsetReplyTo(Address[] addresses)voidsetSubject(java.lang.String s, java.lang.String s1)voidsetText(java.lang.String s, java.lang.String s1)voidwriteTo(java.io.OutputStream stream, java.lang.String[] strings)-
Methods inherited from interface alt.javax.mail.Message
addFrom, addHeader, addRecipients, getAllHeaders, getContent, getContentType, getDataHandler, getDescription, getDisposition, getFileName, getFlags, getFrom, getHeader, getInputStream, getLineCount, getMatchingHeaders, getNonMatchingHeaders, getRealMessage, getReceivedDate, getRecipients, getSentDate, getSize, getSubject, isMimeType, removeHeader, reply, saveChanges, setContent, setContent, setDataHandler, setDescription, setDisposition, setFileName, setFlags, setFrom, setFrom, setHeader, setRecipients, setSentDate, setSubject, setText, writeTo
-
-
-
-
Method Detail
-
setRecipient
void setRecipient(javax.mail.Message.RecipientType type, Address address) throws MessagingException- Throws:
MessagingException
-
addRecipient
void addRecipient(javax.mail.Message.RecipientType type, Address address) throws MessagingException- Throws:
MessagingException
-
setFlag
void setFlag(Flags.Flag flag, boolean b) throws MessagingException- Throws:
MessagingException
-
getMessageNumber
int getMessageNumber()
-
getFolder
Folder getFolder()
-
isExpunged
boolean isExpunged()
-
match
boolean match(SearchTerm term) throws MessagingException- Throws:
MessagingException
-
getAllRecipients
Address[] getAllRecipients() throws MessagingException- Throws:
MessagingException
-
setRecipients
void setRecipients(javax.mail.Message.RecipientType type, java.lang.String s) throws MessagingException- Throws:
MessagingException
-
addRecipients
void addRecipients(javax.mail.Message.RecipientType type, java.lang.String s) throws MessagingException- Throws:
MessagingException
-
getReplyTo
Address[] getReplyTo() throws MessagingException- Throws:
MessagingException
-
setReplyTo
void setReplyTo(Address[] addresses) throws MessagingException- Throws:
MessagingException
-
setSubject
void setSubject(java.lang.String s, java.lang.String s1) throws MessagingException- Throws:
MessagingException
-
getEncoding
java.lang.String getEncoding() throws MessagingException- Throws:
MessagingException
-
getContentID
java.lang.String getContentID() throws MessagingException- Throws:
MessagingException
-
setContentID
void setContentID(java.lang.String s) throws MessagingException- Throws:
MessagingException
-
getContentMD5
java.lang.String getContentMD5() throws MessagingException- Throws:
MessagingException
-
setContentMD5
void setContentMD5(java.lang.String s) throws MessagingException- Throws:
MessagingException
-
setDescription
void setDescription(java.lang.String s, java.lang.String s1) throws MessagingException- Throws:
MessagingException
-
getContentLanguage
java.lang.String[] getContentLanguage() throws MessagingException- Throws:
MessagingException
-
setContentLanguage
void setContentLanguage(java.lang.String[] strings) throws MessagingException- Throws:
MessagingException
-
getMessageID
java.lang.String getMessageID() throws MessagingException- Throws:
MessagingException
-
getRawInputStream
java.io.InputStream getRawInputStream() throws MessagingException- Throws:
MessagingException
-
setText
void setText(java.lang.String s, java.lang.String s1) throws MessagingException- Throws:
MessagingException
-
writeTo
void writeTo(java.io.OutputStream stream, java.lang.String[] strings) throws java.io.IOException, MessagingException- Throws:
java.io.IOExceptionMessagingException
-
getHeader
java.lang.String getHeader(java.lang.String s, java.lang.String s1) throws MessagingException- Throws:
MessagingException
-
addHeaderLine
void addHeaderLine(java.lang.String s) throws MessagingException- Throws:
MessagingException
-
getAllHeaderLines
java.util.Enumeration getAllHeaderLines() throws MessagingException- Throws:
MessagingException
-
getMatchingHeaderLines
java.util.Enumeration getMatchingHeaderLines(java.lang.String[] strings) throws MessagingException- Throws:
MessagingException
-
getNonMatchingHeaderLines
java.util.Enumeration getNonMatchingHeaderLines(java.lang.String[] strings) throws MessagingException- Throws:
MessagingException
-
isSet
boolean isSet(Flags.Flag flag) throws MessagingException- Throws:
MessagingException
-
-