public interface ExchangeFileAttachment implements ExchangeAttachment
Represents a file attached to an Exchange item.
Returns the content of the attached file as a bytes array.
Returns an input stream that can be used to read the content of the attached file. This method never returns null even if the file has no content; an empty input stream will be returned in that case.
|writeTo (java.io.OutputStream stream)|
Writes the content of the attached file to the specified output stream.
|writeTo (java.io.File file)|
Writes the content of the attachment to the specified file. If the specified file doesn't exist, it will be created.
Powered by JavaDocPlus