| Modifier and Type | Method and Description |
|---|---|
| public void | addAttachment(String
the content id of the attachment contentId, DataHandler the data handler containing the data of the attachment dataHandler)Add the given data handler as an attachment to this container. |
| public boolean | Returns: true when the message actually is a XOP packageTurn this message into a XOP package. |
| public DataHandler | Returns: the attachment, as a data handlerthe content id contentId)Return the attachment with the given content id, or |
| public boolean |
| addAttachment | back to summary |
|---|---|
| public void addAttachment(String contentId, DataHandler dataHandler) Add the given data handler as an attachment to this container.
| |
| convertToXopPackage | back to summary |
|---|---|
| public boolean convertToXopPackage() Turn this message into a XOP package.
| |
| getAttachment | back to summary |
|---|---|
| public DataHandler getAttachment(String contentId) Return the attachment with the given content id, or
| |
| isXopPackage | back to summary |
|---|---|
| public boolean isXopPackage() Indicate whether this container is a XOP package.
| |