public class SimpleMessageAttachments extends java.lang.Object implements MessageAttachments
| Constructor and Description |
|---|
SimpleMessageAttachments() |
SimpleMessageAttachments(java.util.Iterator<MessagePart> it) |
| Modifier and Type | Method and Description |
|---|---|
MessagePart |
addAttachment(javax.activation.DataHandler content,
Headers headers)
Add an attachment.
|
java.lang.Iterable<MessagePart> |
iterate()
Iterate across all attachments
|
public SimpleMessageAttachments()
public SimpleMessageAttachments(java.util.Iterator<MessagePart> it)
public java.lang.Iterable<MessagePart> iterate()
MessageAttachmentsiterate in interface MessageAttachmentspublic MessagePart addAttachment(javax.activation.DataHandler content, Headers headers)
MessageAttachmentsaddAttachment in interface MessageAttachmentscontent - The attachment contentheaders - Any headers for the attachment?? 2022 Perforce Software, All rights reserved
This software is the confidential and proprietary information of Perforce, Inc. and is subject to copyright protection under laws of the United States of America and other countries. The use of this software should be in accordance with the license agreement terms you entered into with Perforce, Inc.