com.crystaldecisions.sdk.plugin.destination.common
Interface IDestinationAttachment

All Known Subinterfaces:
IAttachment

public interface IDestinationAttachment

The IDestinationAttachment interface provides information for the destination file content in the collection, including the content's name and mime type.


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

Method Detail

getMimeType

java.lang.String getMimeType()
                             throws SDKException

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

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

setMimeType

void setMimeType(java.lang.String sVal)

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

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

getEmbedName

java.lang.String getEmbedName()
                              throws SDKException

Returns the name of the file content.

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

setEmbedName

void setEmbedName(java.lang.String sVal)

Sets the name of the file content.

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