ResponseMessageBuilder

Inheritance: java.lang.Object

public abstract class ResponseMessageBuilder

Provides creation and formatting the forwarding and replying messages.

Constructors

Constructor Description
ResponseMessageBuilder()

Methods

Method Description
buildResponse(MailMessage msg) Builds the forwarding and replying messages.
buildResponse(MapiMessage msg) Builds the forwarding and replying messages.
equals(Object arg0)
getAdditionMode() Gets or sets the format of response message.
getClass()
getResponseText() Gets or sets the body of response message.
getSender() Gets or sets the addres from which the response message will be sent.
hashCode()
notify()
notifyAll()
setAdditionMode(int value) Gets or sets the format of response message.
setResponseText(String value) Gets or sets the body of response message.
setSender(MailAddress value) Gets or sets the addres from which the response message will be sent.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ResponseMessageBuilder()

public ResponseMessageBuilder()

buildResponse(MailMessage msg)

public abstract MailMessage buildResponse(MailMessage msg)

Builds the forwarding and replying messages.

Parameters:

Parameter Type Description
msg MailMessage Original message MailMessage.

Returns: MailMessage - Resultant message MailMessage.

buildResponse(MapiMessage msg)

public abstract MapiMessage buildResponse(MapiMessage msg)

Builds the forwarding and replying messages.

Parameters:

Parameter Type Description
msg MapiMessage Original message MapiMessage.

Returns: MapiMessage - Resultant message MapiMessage.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getAdditionMode()

public final int getAdditionMode()

Gets or sets the format of response message.

Returns: int

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getResponseText()

public final String getResponseText()

Gets or sets the body of response message.


Can contain html tags or rtf keywords if type of body of original message is HTML or RTF respectively.

Returns: java.lang.String

getSender()

public final MailAddress getSender()

Gets or sets the addres from which the response message will be sent.

Returns: MailAddress

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setAdditionMode(int value)

public final void setAdditionMode(int value)

Gets or sets the format of response message.

Parameters:

Parameter Type Description
value int

setResponseText(String value)

public final void setResponseText(String value)

Gets or sets the body of response message.


Can contain html tags or rtf keywords if type of body of original message is HTML or RTF respectively.

Parameters:

Parameter Type Description
value java.lang.String

setSender(MailAddress value)

public final void setSender(MailAddress value)

Gets or sets the addres from which the response message will be sent.

Parameters:

Parameter Type Description
value MailAddress

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int