|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--oracle.panama.messaging.common.MultiPart
This class is a container class for the parts of a message.
| Constructor Summary | |
MultiPart()Constructor. | |
| Method Summary | |
void |
addMessagePart(MessagePart part)Add a message part to this multipart. |
void |
addMessagePart(MessagePart part, int index)Add a message part to this multipart at a given index. |
MessagePart |
getMessagePart(int index)Get the specified message part. |
int |
getPartCount()Get the number of part count. |
void |
readExternal(java.io.ObjectInput oi)Read a multipart instance from a stream. |
void |
removeMessagePart(int index)Remove a specified message part. |
void |
removeMessagePart(MessagePart part)Remove a specified message part. |
void |
writeExternal(java.io.ObjectOutput oo)Write a multipart instance to a stream. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MultiPart()
| Method Detail |
public void addMessagePart(MessagePart part)
part - message part to add.
public void addMessagePart(MessagePart part,
int index)
part - message part to add.index - the position to add.public int getPartCount()
public MessagePart getMessagePart(int index)
index - the index of the part to get.public void removeMessagePart(MessagePart part)
part - the message part to remove.public void removeMessagePart(int index)
index - the index of the part to remove.
public void readExternal(java.io.ObjectInput oi)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizableoi - the stream to read from.java.io.IOExceptionjava.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput oo)
throws java.io.IOException
writeExternal in interface java.io.Externalizableoo - the stream to write to.java.io.IOException
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||