Package alt.javax.mail.internet
Class MimeMessageImpl
java.lang.Object
alt.javax.mail.MessageImpl
alt.javax.mail.internet.MimeMessageImpl
- All Implemented Interfaces:
MimeMessage,Message
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddRecipient(javax.mail.Message.RecipientType type, Address address) voidaddRecipients(javax.mail.Message.RecipientType type, String s) Address[]String[]FoldergetMatchingHeaderLines(String[] strings) intgetNonMatchingHeaderLines(String[] strings) Address[]booleanbooleanisSet(Flags.Flag flag) booleanmatch(SearchTerm term) voidvoidsetContentLanguage(String[] strings) voidvoidsetDescription(String s, String s1) voidsetFlag(Flags.Flag flag, boolean b) voidsetRecipient(javax.mail.Message.RecipientType type, Address address) voidsetRecipients(javax.mail.Message.RecipientType type, String s) voidsetReplyTo(Address[] addresses) voidsetSubject(String s, String s1) voidvoidwriteTo(OutputStream stream, String[] strings) Methods inherited from class alt.javax.mail.MessageImpl
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, writeToMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
Constructor Details
-
MimeMessageImpl
-
-
Method Details
-
setRecipient
public void setRecipient(javax.mail.Message.RecipientType type, Address address) throws MessagingException - Specified by:
setRecipientin interfaceMimeMessage- Throws:
MessagingException
-
addRecipient
public void addRecipient(javax.mail.Message.RecipientType type, Address address) throws MessagingException - Specified by:
addRecipientin interfaceMimeMessage- Throws:
MessagingException
-
setFlag
public void setFlag(Flags.Flag flag, boolean b) throws MessagingException - Specified by:
setFlagin interfaceMimeMessage- Throws:
MessagingException
-
getMessageNumber
public int getMessageNumber()- Specified by:
getMessageNumberin interfaceMimeMessage
-
getFolder
public Folder getFolder()- Specified by:
getFolderin interfaceMimeMessage
-
isExpunged
public boolean isExpunged()- Specified by:
isExpungedin interfaceMimeMessage
-
match
public boolean match(SearchTerm term) throws MessagingException - Specified by:
matchin interfaceMimeMessage- Throws:
MessagingException
-
getAllRecipients
public Address[] getAllRecipients() throws MessagingException- Specified by:
getAllRecipientsin interfaceMimeMessage- Throws:
MessagingException
-
setRecipients
public void setRecipients(javax.mail.Message.RecipientType type, String s) throws MessagingException - Specified by:
setRecipientsin interfaceMimeMessage- Throws:
MessagingException
-
addRecipients
public void addRecipients(javax.mail.Message.RecipientType type, String s) throws MessagingException - Specified by:
addRecipientsin interfaceMimeMessage- Throws:
MessagingException
-
getReplyTo
public Address[] getReplyTo() throws MessagingException- Specified by:
getReplyToin interfaceMimeMessage- Throws:
MessagingException
-
setReplyTo
public void setReplyTo(Address[] addresses) throws MessagingException - Specified by:
setReplyToin interfaceMimeMessage- Throws:
MessagingException
-
setSubject
- Specified by:
setSubjectin interfaceMimeMessage- Throws:
MessagingException
-
getEncoding
- Specified by:
getEncodingin interfaceMimeMessage- Throws:
MessagingException
-
getContentID
- Specified by:
getContentIDin interfaceMimeMessage- Throws:
MessagingException
-
setContentID
- Specified by:
setContentIDin interfaceMimeMessage- Throws:
MessagingException
-
getContentMD5
- Specified by:
getContentMD5in interfaceMimeMessage- Throws:
MessagingException
-
setContentMD5
- Specified by:
setContentMD5in interfaceMimeMessage- Throws:
MessagingException
-
setDescription
- Specified by:
setDescriptionin interfaceMimeMessage- Throws:
MessagingException
-
getContentLanguage
- Specified by:
getContentLanguagein interfaceMimeMessage- Throws:
MessagingException
-
setContentLanguage
- Specified by:
setContentLanguagein interfaceMimeMessage- Throws:
MessagingException
-
getMessageID
- Specified by:
getMessageIDin interfaceMimeMessage- Throws:
MessagingException
-
getRawInputStream
- Specified by:
getRawInputStreamin interfaceMimeMessage- Throws:
MessagingException
-
setText
- Specified by:
setTextin interfaceMimeMessage- Throws:
MessagingException
-
writeTo
- Specified by:
writeToin interfaceMimeMessage- Throws:
IOExceptionMessagingException
-
getHeader
- Specified by:
getHeaderin interfaceMimeMessage- Throws:
MessagingException
-
addHeaderLine
- Specified by:
addHeaderLinein interfaceMimeMessage- Throws:
MessagingException
-
getAllHeaderLines
- Specified by:
getAllHeaderLinesin interfaceMimeMessage- Throws:
MessagingException
-
getMatchingHeaderLines
- Specified by:
getMatchingHeaderLinesin interfaceMimeMessage- Throws:
MessagingException
-
getNonMatchingHeaderLines
- Specified by:
getNonMatchingHeaderLinesin interfaceMimeMessage- Throws:
MessagingException
-
isSet
public boolean isSet(Flags.Flag flag) throws MessagingException - Specified by:
isSetin interfaceMimeMessage- Throws:
MessagingException
-