public class RMMessage extends Object
Constructor and Description |
---|
RMMessage() |
Modifier and Type | Method and Description |
---|---|
List<InputStream> |
getAttachments()
Returns the list of attachments.
|
InputStream |
getContent()
Returns the input stream of this message content.
|
long |
getMessageNumber()
Returns the message number of the message within its sequence.
|
String |
getTo()
Returns the to address of this message.
|
void |
setAttachments(List<InputStream> attaches)
Set the list of attachments.
|
void |
setContent(InputStream in)
Sets the message content using the input stream.
|
void |
setMessageNumber(long mn)
Sets the message number of the message within its sequence.
|
void |
setTo(String t)
Sets the to address of this message.
|
public long getMessageNumber()
public void setMessageNumber(long mn)
messageNumber
- the message numberpublic void setContent(InputStream in)
in
- public String getTo()
public void setTo(String t)
t
- the to addresspublic InputStream getContent()
IOException
public List<InputStream> getAttachments()
public void setAttachments(List<InputStream> attaches)
attaches
- (non-null)Apache CXF