public class Message extends Object implements Serializable
| Constructor and Description |
|---|
Message()
Constructs a new instance of Message
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAttachmentCount()
Gets how many attachments the message has
|
LinkedList<Attachment> |
getAttachments()
Returns list of attachments
|
String |
getFrom()
Returns who the message is from
|
String |
getHTMLMessage()
Gets the message formatted as HTML
|
String |
getMessage()
Gets the message as a string
|
String |
getPlainMessage()
Gets the plain message of the message
|
String |
getSubject()
Gets the message subject
|
String |
getTo()
Gets who the message is from
|
javafx.beans.property.SimpleBooleanProperty |
isRead()
Gets the read flag.
|
void |
processMessage()
Processes the message
|
void |
setFrom(String from)
Sets who the message is from
|
void |
setMessage(String message)
Sets the message
|
void |
setRead(boolean isRead)
Sets the read flag.
|
void |
setSubject(String subject)
Sets the subject of the message
|
void |
setTo(String to)
Gets who the message is to
|
public javafx.beans.property.SimpleBooleanProperty isRead()
public void setRead(boolean isRead)
isRead - The boolean value for yes or nopublic String getFrom()
public void setFrom(String from)
from - The address the message is frompublic String getTo()
public void setTo(String to)
to - The recipient of the messagepublic String getSubject()
public void setSubject(String subject)
subject - The subject of the messagepublic String getMessage()
public void setMessage(String message)
message - The message bodypublic String getHTMLMessage()
public String getPlainMessage()
public void processMessage()
public LinkedList<Attachment> getAttachments()
public int getAttachmentCount()
Copyright © 2019. All rights reserved.