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


public interface IAttachment

The IAttachment interface provides information for the attachment in the collection, including the attachment's name and mime type.


Method Summary
 java.lang.String getEmbedName()
           Returns the name of the attachment.
 java.lang.String getMimeType()
           Returns the mime type of the attachment.
 void setEmbedName(java.lang.String sVal)
           Sets the name of the attachment.
 void setMimeType(java.lang.String sVal)
           Sets the mime type of the attachment.
 

Method Detail

getMimeType

public java.lang.String getMimeType()
                             throws SDKException

Returns the mime type of the attachment. For example, "image/gif" or "video/mpeg".

Returns:
A String containing the mime type of the attachment.
Throws:
SDKException - This is thrown if the process is unsuccessful.

setMimeType

public void setMimeType(java.lang.String sVal)

Sets the mime type of the attachment. For example, "image/gif" or "video/mpeg".

Parameters:
sVal - A String containing the mime type of the attachment.

getEmbedName

public java.lang.String getEmbedName()
                              throws SDKException

Returns the name of the attachment.

Returns:
A String containing the name of the attachment.
Throws:
SDKException - This is thrown if the process is unsuccessful.

setEmbedName

public void setEmbedName(java.lang.String sVal)

Sets the name of the attachment.

Parameters:
sVal - A String containing the name of the attachment.