public abstract class ResponseMessageBuilder extends Object
Provides creation and formatting the forwarding and replying messages.
Constructor and Description |
---|
ResponseMessageBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract MailMessage |
buildResponse(MailMessage msg)
Builds the forwarding and replying messages.
|
abstract MapiMessage |
buildResponse(MapiMessage msg)
Builds the forwarding and replying messages.
|
int |
getAdditionMode()
Gets or sets the format of response message.
|
String |
getResponseText()
Gets or sets the body of response message.
|
MailAddress |
getSender()
Gets or sets the addres from which the response message will be sent.
|
void |
setAdditionMode(int value)
Gets or sets the format of response message.
|
void |
setResponseText(String value)
Gets or sets the body of response message.
|
void |
setSender(MailAddress value)
Gets or sets the addres from which the response message will be sent.
|
public final int getAdditionMode()
Gets or sets the format of response message.
public final void setAdditionMode(int value)
Gets or sets the format of response message.
public final MailAddress getSender()
Gets or sets the addres from which the response message will be sent.
public final void setSender(MailAddress value)
Gets or sets the addres from which the response message will be sent.
public final String getResponseText()
Gets or sets the body of response message.
public final void setResponseText(String value)
Gets or sets the body of response message.
public abstract MailMessage buildResponse(MailMessage msg)
Builds the forwarding and replying messages.
msg
- Original message MailMessage
.MailMessage
.public abstract MapiMessage buildResponse(MapiMessage msg)
Builds the forwarding and replying messages.
msg
- Original message MapiMessage
.MapiMessage
.