addFrom
public final void addFrom(Address[] addresses)
throws MessagingException- addFrom in interface Message
addHeader
public final void addHeader(String s,
String s1)
throws MessagingException- addHeader in interface Message
addRecipients
public final void addRecipients(javax.mail.Message.RecipientType type,
Address[] addresses)
throws MessagingException- addRecipients in interface Message
getAllHeaders
public final Enumeration getAllHeaders()
throws MessagingException- getAllHeaders in interface Message
getContent
public final Object getContent()
throws IOException,
MessagingException- getContent in interface Message
getContentType
public final String getContentType()
throws MessagingException- getContentType in interface Message
getDataHandler
public final javax.activation.DataHandler getDataHandler()
throws MessagingException- getDataHandler in interface Message
getDescription
public final String getDescription()
throws MessagingException- getDescription in interface Message
getDisposition
public final String getDisposition()
throws MessagingException- getDisposition in interface Message
getFileName
public final String getFileName()
throws MessagingException- getFileName in interface Message
getFlags
public final Flags getFlags()
throws MessagingException- getFlags in interface Message
getFrom
public final Address[] getFrom()
throws MessagingException- getFrom in interface Message
getHeader
public final String[] getHeader(String s)
throws MessagingException- getHeader in interface Message
getInputStream
public final InputStream getInputStream()
throws IOException,
MessagingException- getInputStream in interface Message
getLineCount
public final int getLineCount()
throws MessagingException- getLineCount in interface Message
getMatchingHeaders
public final Enumeration getMatchingHeaders(String[] strings)
throws MessagingException- getMatchingHeaders in interface Message
getNonMatchingHeaders
public final Enumeration getNonMatchingHeaders(String[] strings)
throws MessagingException- getNonMatchingHeaders in interface Message
getReceivedDate
public final Date getReceivedDate()
throws MessagingException- getReceivedDate in interface Message
getRecipients
public final Address[] getRecipients(javax.mail.Message.RecipientType type)
throws MessagingException- getRecipients in interface Message
getSentDate
public final Date getSentDate()
throws MessagingException- getSentDate in interface Message
getSize
public final int getSize()
throws MessagingException- getSize in interface Message
getSubject
public final String getSubject()
throws MessagingException- getSubject in interface Message
isMimeType
public final boolean isMimeType(String s)
throws MessagingException- isMimeType in interface Message
removeHeader
public final void removeHeader(String s)
throws MessagingException- removeHeader in interface Message
saveChanges
public final void saveChanges()
throws MessagingException- saveChanges in interface Message
setContent
public final void setContent(Multipart multipart)
throws MessagingException- setContent in interface Message
setContent
public final void setContent(Object o,
String s)
throws MessagingException- setContent in interface Message
setDataHandler
public final void setDataHandler(javax.activation.DataHandler handler)
throws MessagingException- setDataHandler in interface Message
setDescription
public final void setDescription(String s)
throws MessagingException- setDescription in interface Message
setDisposition
public final void setDisposition(String s)
throws MessagingException- setDisposition in interface Message
setFileName
public final void setFileName(String s)
throws MessagingException- setFileName in interface Message
setFlags
public final void setFlags(Flags flags,
boolean b)
throws MessagingException- setFlags in interface Message
setFrom
public final void setFrom()
throws MessagingException- setFrom in interface Message
setFrom
public final void setFrom(Address address)
throws MessagingException- setFrom in interface Message
setHeader
public final void setHeader(String s,
String s1)
throws MessagingException- setHeader in interface Message
setRecipients
public final void setRecipients(javax.mail.Message.RecipientType type,
Address[] addresses)
throws MessagingException- setRecipients in interface Message
setSentDate
public final void setSentDate(Date date)
throws MessagingException- setSentDate in interface Message
setSubject
public final void setSubject(String s)
throws MessagingException- setSubject in interface Message
setText
public final void setText(String s)
throws MessagingException- setText in interface Message
writeTo
public final void writeTo(OutputStream stream)
throws IOException,
MessagingException- writeTo in interface Message