|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ExchangeItemAttachment
Represents an Exchange item attached to another Exchange item.
| Method Summary | |
|---|---|
ExchangeItem |
getItem()
Returns the attached item. |
void |
writeTo(java.io.File file)
Writes the content of the attached item to the specified file in RFC-822 format (EML format) if the attached item is a message. |
void |
writeTo(java.io.OutputStream stream)
Writes the content of the attached item to the specified output stream in RFC-822 format (EML format) if the attached item is a message. |
| Methods inherited from interface com.moyosoft.exchange.attachment.ExchangeAttachment |
|---|
delete, getAttachmentInfo, getContentId, getContentLocation, getContentType, getName, getParentItemId |
| Method Detail |
|---|
ExchangeItem getItem()
throws ExchangeServiceException
ExchangeServiceException - if any errors occur during the communication with Exchange.
void writeTo(java.io.OutputStream stream)
throws ExchangeServiceException,
java.io.IOException
writeTo in interface ExchangeAttachmentstream - the stream to write into.
ExchangeServiceException - if any errors occur during the communication with Exchange.
java.io.IOException - if errors occur when writing to the specified stream.
void writeTo(java.io.File file)
throws ExchangeServiceException,
java.io.IOException
writeTo in interface ExchangeAttachmentfile - the file to write into.
ExchangeServiceException - if any errors occur during the communication with Exchange.
java.io.IOException - if errors occur when writing to the specified file.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||