|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
jrun.jms.core.message.TextMessageImpl
This class implements the TextMessage interface
TextMessage| Constructor Summary | |
TextMessageImpl()
Construct a new TextMessage |
|
| Method Summary | |
void |
clearBody()
Clear out the message body. |
java.lang.Object |
clone()
Clone an instance of this object |
java.lang.String |
getText()
Get the string containing this message's data. |
void |
readExternal(java.io.ObjectInput in)
Serialize in this message's data |
void |
setText(java.lang.String string)
Set the string containing this message's data. |
void |
writeExternal(java.io.ObjectOutput out)
Serialize out this message's data |
| Constructor Detail |
public TextMessageImpl()
throws javax.jms.JMSException
JMSException - if the message type can't be set| Method Detail |
public final java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException - if object or attributes aren't
cloneable
public final void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
out - the stream to serialize out tojava.io.IOException - if any I/O exceptions occurr
public final void readExternal(java.io.ObjectInput in)
throws java.lang.ClassNotFoundException,
java.io.IOException
in - the stream to serialize in fromjava.lang.ClassNotFoundException - if the class for an object being
restored cannot be found.java.io.IOException - if any I/O exceptions occur
public final void setText(java.lang.String string)
throws javax.jms.MessageNotWriteableException
string - the String containing the message's dataMessageNotWriteableException - if message in read-only mode.public final java.lang.String getText()
public final void clearBody()
throws javax.jms.JMSException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||