public class Email extends Object
Constructor and Description |
---|
Email()
Create an email.
|
Email(String sender,
String content,
String subject,
String receiver)
Create an email.
|
Email(String sender,
String content,
String contenttype,
String subject,
String[] receivers,
String[] ccs,
String[] bccs)
Create an email.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Test if is equal.
|
Object[] |
getAttachments()
Get the attachments.
|
String[] |
getBccs()
Get the bccs.
|
String[] |
getCcs()
Get the ccs.
|
String |
getContent()
Get the content.
|
String |
getContentType()
Get the contenttype.
|
String[] |
getReceivers()
Get the receivers.
|
String |
getSender()
Get the sender.
|
String |
getSubject()
Get the subject.
|
int |
hashCode()
Get the hashcode.
|
void |
setAttachments(Object[] attachments)
Set the attachments.
|
void |
setBccs(String[] bccs)
Set the bccs.
|
void |
setCcs(String[] ccs)
Set the ccs.
|
void |
setContent(String content)
Set the content.
|
void |
setContentType(String contenttype)
Set the contenttype.
|
void |
setReceivers(String[] receivers)
Set the receivers.
|
void |
setSender(String sender)
Set the sender.
|
void |
setSubject(String subject)
Set the subject.
|
public String getContent()
public void setContent(String content)
content
- The content to set.public String getSubject()
public void setSubject(String subject)
subject
- The subject to set.public String[] getReceivers()
public void setReceivers(String[] receivers)
receivers
- The receivers to set.public String[] getCcs()
public void setCcs(String[] ccs)
ccs
- The ccs to set.public String[] getBccs()
public void setBccs(String[] bccs)
bccs
- The bccs to set.public String getSender()
public void setSender(String sender)
sender
- The sender to set.public Object[] getAttachments()
public void setAttachments(Object[] attachments)
attachments
- The attachments to set.public String getContentType()
public void setContentType(String contenttype)
contenttype
- The contenttype to set.Copyright © 2015. All Rights Reserved.