|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.openexchange.mail.json.parser.AbstractAttachmentHandler
public abstract class AbstractAttachmentHandler
AbstractAttachmentHandler - An abstract attachment handler.
| Constructor Summary | |
|---|---|
AbstractAttachmentHandler(com.openexchange.session.Session session)
Initializes a new AbstractAttachmentHandler. |
|
| Method Summary | |
|---|---|
void |
addAttachment(MailPart attachment)
Adds specified attachment. |
ComposedMailMessage[] |
generateComposedMails(ComposedMailMessage source)
Generates composed mails. |
void |
setTextPart(TextBodyMailPart textBodyPart)
Sets the text part which may be modified. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractAttachmentHandler(com.openexchange.session.Session session)
throws MailException
AbstractAttachmentHandler.
session - The session providing needed user information
MailException - If initialization fails| Method Detail |
|---|
public void setTextPart(TextBodyMailPart textBodyPart)
textBodyPart - The text part to set
public void addAttachment(MailPart attachment)
throws MailException
attachment - The attachment to add
MailException - Depending on implementation it may indicate an exceeded quota, but other errors as well
public ComposedMailMessage[] generateComposedMails(ComposedMailMessage source)
throws MailException
source - The source composed mail
MailException - If an error occurs while filling mail
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||