All Downloads are FREE. Search and download functionalities are using the official Maven repository.

microsoft.exchange.webservices.data.IFileAttachmentContentHandler Maven / Gradle / Ivy

Go to download

The source came from http://archive.msdn.microsoft.com/ewsjavaapi Support for Maven has been added.

There is a newer version: 1.1.5.2
Show newest version
/**************************************************************************
 * copyright file="IFileAttachmentContentHandler.java" company="Microsoft"
 *     Copyright (c) Microsoft Corporation.  All rights reserved.
 * 
 * Defines the IFileAttachmentContentHandler.java.
 **************************************************************************/

package microsoft.exchange.webservices.data;

import java.io.OutputStream;

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

	/**
	 * Provides a stream to which the content of the attachment with the
	 * specified Id should be written.
	 * 
	 * @param attachmentId
	 *            The Id of the attachment that is being loaded.
	 * @return A Stream to which the content of the attachment will be written.
	 */
	OutputStream getOutputStream(String attachmentId);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy