alt.javax.mail
Interface Message
- All Known Subinterfaces:
- MimeMessage
- All Known Implementing Classes:
- MessageImpl, MimeMessageImpl, MockMessage, MockMimeMessage
- public interface Message
getRealMessage
public javax.mail.Message getRealMessage()
getFrom
public Address[] getFrom()
throws MessagingException
- Throws:
MessagingException
setFrom
public void setFrom()
throws MessagingException
- Throws:
MessagingException
setFrom
public void setFrom(Address address)
throws MessagingException
- Throws:
MessagingException
addFrom
public void addFrom(Address[] addresses)
throws MessagingException
- Throws:
MessagingException
getRecipients
public Address[] getRecipients(javax.mail.Message.RecipientType type)
throws MessagingException
- Throws:
MessagingException
setRecipients
public void setRecipients(javax.mail.Message.RecipientType type,
Address[] addresses)
throws MessagingException
- Throws:
MessagingException
addRecipients
public void addRecipients(javax.mail.Message.RecipientType type,
Address[] addresses)
throws MessagingException
- Throws:
MessagingException
getSubject
public java.lang.String getSubject()
throws MessagingException
- Throws:
MessagingException
setSubject
public void setSubject(java.lang.String s)
throws MessagingException
- Throws:
MessagingException
getSentDate
public java.util.Date getSentDate()
throws MessagingException
- Throws:
MessagingException
setSentDate
public void setSentDate(java.util.Date date)
throws MessagingException
- Throws:
MessagingException
getReceivedDate
public java.util.Date getReceivedDate()
throws MessagingException
- Throws:
MessagingException
getFlags
public Flags getFlags()
throws MessagingException
- Throws:
MessagingException
setFlags
public void setFlags(Flags flags,
boolean b)
throws MessagingException
- Throws:
MessagingException
reply
public Message reply(boolean b)
throws MessagingException
- Throws:
MessagingException
saveChanges
public void saveChanges()
throws MessagingException
- Throws:
MessagingException
getSize
public int getSize()
throws MessagingException
- Throws:
MessagingException
getLineCount
public int getLineCount()
throws MessagingException
- Throws:
MessagingException
getContentType
public java.lang.String getContentType()
throws MessagingException
- Throws:
MessagingException
isMimeType
public boolean isMimeType(java.lang.String s)
throws MessagingException
- Throws:
MessagingException
getDisposition
public java.lang.String getDisposition()
throws MessagingException
- Throws:
MessagingException
setDisposition
public void setDisposition(java.lang.String s)
throws MessagingException
- Throws:
MessagingException
getDescription
public java.lang.String getDescription()
throws MessagingException
- Throws:
MessagingException
setDescription
public void setDescription(java.lang.String s)
throws MessagingException
- Throws:
MessagingException
getFileName
public java.lang.String getFileName()
throws MessagingException
- Throws:
MessagingException
setFileName
public void setFileName(java.lang.String s)
throws MessagingException
- Throws:
MessagingException
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException,
MessagingException
- Throws:
java.io.IOException
MessagingException
getDataHandler
public javax.activation.DataHandler getDataHandler()
throws MessagingException
- Throws:
MessagingException
getContent
public java.lang.Object getContent()
throws java.io.IOException,
MessagingException
- Throws:
java.io.IOException
MessagingException
setDataHandler
public void setDataHandler(javax.activation.DataHandler handler)
throws MessagingException
- Throws:
MessagingException
setContent
public void setContent(java.lang.Object o,
java.lang.String s)
throws MessagingException
- Throws:
MessagingException
setText
public void setText(java.lang.String s)
throws MessagingException
- Throws:
MessagingException
setContent
public void setContent(Multipart multipart)
throws MessagingException
- Throws:
MessagingException
writeTo
public void writeTo(java.io.OutputStream stream)
throws java.io.IOException,
MessagingException
- Throws:
java.io.IOException
MessagingException
getHeader
public java.lang.String[] getHeader(java.lang.String s)
throws MessagingException
- Throws:
MessagingException
setHeader
public void setHeader(java.lang.String s,
java.lang.String s1)
throws MessagingException
- Throws:
MessagingException
addHeader
public void addHeader(java.lang.String s,
java.lang.String s1)
throws MessagingException
- Throws:
MessagingException
removeHeader
public void removeHeader(java.lang.String s)
throws MessagingException
- Throws:
MessagingException
getAllHeaders
public java.util.Enumeration getAllHeaders()
throws MessagingException
- Throws:
MessagingException
getMatchingHeaders
public java.util.Enumeration getMatchingHeaders(java.lang.String[] strings)
throws MessagingException
- Throws:
MessagingException
getNonMatchingHeaders
public java.util.Enumeration getNonMatchingHeaders(java.lang.String[] strings)
throws MessagingException
- Throws:
MessagingException
Copyright © 2002 Mock Objects. All Rights Reserved.