public class SimpleMailContent extends Object implements MailContent
| Modifier and Type | Field and Description |
|---|---|
protected String |
content |
protected String |
subject |
| Constructor and Description |
|---|
SimpleMailContent() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAttachments() |
String |
getContent() |
String |
getSubject() |
boolean |
hasAttachment() |
void |
setAttachments(List<String> attachments) |
void |
setContent(String content) |
void |
setSubject(String subject) |
public String getSubject()
getSubject in interface MailContentpublic void setSubject(String subject)
subject - Tytuł wiadomościpublic String getContent()
getContent in interface MailContentpublic void setContent(String content)
content - Treść wiadomościpublic List<String> getAttachments()
getAttachments in interface MailContentpublic void setAttachments(List<String> attachments)
attachments - Lista załączników. Zawiera ścieżki do plików na dysku.public boolean hasAttachment()
hasAttachment in interface MailContentCopyright © 2014 Suncode. All rights reserved.