public final class EmailModel extends Object
This object will be created and sent to observers by the MailSaver
object.
It contains useful data such as the content of the email and its path in the file system.
Constructor and Description |
---|
EmailModel() |
Modifier and Type | Method and Description |
---|---|
String |
getEmailStr() |
String |
getFilePath() |
String |
getFrom() |
Date |
getReceivedDate() |
String |
getSubject() |
String |
getTo() |
void |
setEmailStr(String emailStr) |
void |
setFilePath(String filePath) |
void |
setFrom(String from) |
void |
setReceivedDate(Date receivedDate) |
void |
setSubject(String subject) |
void |
setTo(String to) |
public Date getReceivedDate()
public void setReceivedDate(Date receivedDate)
public String getFrom()
public void setFrom(String from)
public String getTo()
public void setTo(String to)
public String getSubject()
public void setSubject(String subject)
public String getEmailStr()
public void setEmailStr(String emailStr)
public String getFilePath()
public void setFilePath(String filePath)
Copyright © 2015. All rights reserved.