|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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 |
Type | Method |
---|---|
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)
public void addMessagePart(MessagePart part, int index)
public int getPartCount()
public MessagePart getMessagePart(int index)
public void removeMessagePart(MessagePart part)
public void removeMessagePart(int index)
public void readExternal(java.io.ObjectInput oi) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
oi
- the stream to read from.public void writeExternal(java.io.ObjectOutput oo) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
oo
- the stream to write to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |