Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.mockobjects.MockObject
com.mockobjects.mail.MockMessage
com.mockobjects.mail.internet.MockMimeMessage
Method Summary | |
void |
|
void |
|
void |
|
Enumeration | |
Address[] | |
String |
|
String | |
String[] | |
String | |
String | |
Folder | |
String |
|
Enumeration |
|
String | |
int | |
Enumeration |
|
InputStream | |
Address[] | |
boolean | |
boolean |
|
boolean |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class com.mockobjects.MockObject | |
notImplemented , notYetImplemented , verify |
public void addHeaderLine(String s) throws MessagingException
- Specified by:
- addHeaderLine in interface MimeMessage
public void addRecipient(javax.mail.Message.RecipientType aType, Address anAddress) throws MessagingException
- Specified by:
- addRecipient in interface MimeMessage
public void addRecipients(javax.mail.Message.RecipientType type, String s) throws MessagingException
- Specified by:
- addRecipients in interface MimeMessage
public Enumeration getAllHeaderLines() throws MessagingException
- Specified by:
- getAllHeaderLines in interface MimeMessage
public Address[] getAllRecipients() throws MessagingException
- Specified by:
- getAllRecipients in interface MimeMessage
public String getBody()
public String getContentID() throws MessagingException
- Specified by:
- getContentID in interface MimeMessage
public String[] getContentLanguage() throws MessagingException
- Specified by:
- getContentLanguage in interface MimeMessage
public String getContentMD5() throws MessagingException
- Specified by:
- getContentMD5 in interface MimeMessage
public String getEncoding() throws MessagingException
- Specified by:
- getEncoding in interface MimeMessage
public String getHeader(String s, String s1) throws MessagingException
- Specified by:
- getHeader in interface MimeMessage
public Enumeration getMatchingHeaderLines(String[] strings) throws MessagingException
- Specified by:
- getMatchingHeaderLines in interface MimeMessage
public String getMessageID() throws MessagingException
- Specified by:
- getMessageID in interface MimeMessage
public Enumeration getNonMatchingHeaderLines(String[] strings) throws MessagingException
- Specified by:
- getNonMatchingHeaderLines in interface MimeMessage
public InputStream getRawInputStream() throws MessagingException
- Specified by:
- getRawInputStream in interface MimeMessage
public Address[] getReplyTo() throws MessagingException
- Specified by:
- getReplyTo in interface MimeMessage
public boolean isSet(Flags.Flag flag) throws MessagingException
- Specified by:
- isSet in interface MimeMessage
public boolean match(SearchTerm term) throws MessagingException
- Specified by:
- match in interface MimeMessage
public void setBody(String messageText)
public void setContentID(String s) throws MessagingException
- Specified by:
- setContentID in interface MimeMessage
public void setContentLanguage(String[] strings) throws MessagingException
- Specified by:
- setContentLanguage in interface MimeMessage
public void setContentMD5(String s) throws MessagingException
- Specified by:
- setContentMD5 in interface MimeMessage
public void setDescription(String s, String s1) throws MessagingException
- Specified by:
- setDescription in interface MimeMessage
public void setExpectedAddRecipient(javax.mail.Message.RecipientType aType, Address anAddress)
public void setFlag(Flags.Flag flag, boolean b) throws MessagingException
- Specified by:
- setFlag in interface MimeMessage
public void setRecipient(javax.mail.Message.RecipientType type, Address address) throws MessagingException
- Specified by:
- setRecipient in interface MimeMessage
public void setRecipients(javax.mail.Message.RecipientType type, String s) throws MessagingException
- Specified by:
- setRecipients in interface MimeMessage
public void setReplyTo(Address[] addresses) throws MessagingException
- Specified by:
- setReplyTo in interface MimeMessage
public void setSubject(String s, String s1) throws MessagingException
- Specified by:
- setSubject in interface MimeMessage
public void setText(String s, String s1) throws MessagingException
- Specified by:
- setText in interface MimeMessage
public void writeTo(OutputStream stream, String[] strings) throws IOException, MessagingException
- Specified by:
- writeTo in interface MimeMessage