com.crystaldecisions.sdk.plugin.destination.smtp
Interface IAttachments

All Superinterfaces:
java.util.Collection, java.util.List

public interface IAttachments
extends java.util.List

The IAttachments collection allows you to add an object as an attachment to the email destination. That is, when the job is run, the object will be attached and sent to that destination. Attached files can be set as global options for a Job Server, or they can be set as schedule options in the destination plugin.


Method Summary
 IAttachment add(java.lang.String mimeType, java.lang.String embedName)
           Adds a new attachment to the collection.
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

add

public IAttachment add(java.lang.String mimeType,
                       java.lang.String embedName)

Adds a new attachment to the collection.

Parameters:
mimeType - The mime type of the attachment to be added.
embedName - The name of the attachment.
Returns:
The newly created IAttachment object.