microsoft.exchange.webservices.data
Interface IFileAttachmentContentHandler


public interface IFileAttachmentContentHandler

Defines a file attachment content handler. Application can implement IFileAttachmentContentHandler /// to provide a stream in which the content of file attachment should be written.


Method Summary
 java.io.OutputStream getOutputStream(java.lang.String attachmentId)
          Provides a stream to which the content of the attachment with the specified Id should be written.
 

Method Detail

getOutputStream

java.io.OutputStream getOutputStream(java.lang.String attachmentId)
Provides a stream to which the content of the attachment with the specified Id should be written.

Parameters:
attachmentId - The Id of the attachment that is being loaded.
Returns:
A Stream to which the content of the attachment will be written.