|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objecter.javamail.ERMailDelivery
er.javamail.ERMailDeliveryComponentBased
er.javamail.ERMailDeliveryHTML
public class ERMailDeliveryHTML
This ERMailDelivery subclass is specifically crafted for HTML messages using a WOComponent as rendering device.
| Nested Class Summary | |
|---|---|
static class |
ERMailDeliveryHTML.DefaultFactory
The default factory. |
static interface |
ERMailDeliveryHTML.Factory
|
| Field Summary | |
|---|---|
protected java.lang.String |
_htmlContent
Holds the HTML content |
protected static ERMailDeliveryHTML.Factory |
factory
|
| Fields inherited from class er.javamail.ERMailDeliveryComponentBased |
|---|
_alternativeComponent, _component, _sessionDictionary |
| Fields inherited from class er.javamail.ERMailDelivery |
|---|
_attachments, _charset, _inlineAttachments, _mimeMessage, DefaultCharset |
| Constructor Summary | |
|---|---|
ERMailDeliveryHTML()
|
|
| Method Summary | |
|---|---|
static ERMailDeliveryHTML.Factory |
factory()
Gets the current factory. |
protected java.lang.String |
htmlContent()
|
void |
newMail()
Creates a new mail instance within ERMailDelivery. |
static ERMailDeliveryHTML |
newMailDelivery()
|
protected javax.activation.DataHandler |
prepareMail()
Pre-processes the mail before it gets sent. |
static void |
setFactory(ERMailDeliveryHTML.Factory value)
Sets the factory. |
void |
setHiddenPlainTextContent(java.lang.String content)
Sets the Plain text preamble that will be displayed set in top of HTML source. |
void |
setHTMLContent(java.lang.String content)
Sets the HTML content. |
| Methods inherited from class er.javamail.ERMailDeliveryComponentBased |
|---|
_componentContentString, alternativeComponent, alternativeComponentContentString, component, componentContentString, sessionDictionary, setAlternativeComponent, setComponent, setSessionDictionary, setWOComponentContent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static ERMailDeliveryHTML.Factory factory
protected java.lang.String _htmlContent
| Constructor Detail |
|---|
public ERMailDeliveryHTML()
| Method Detail |
|---|
public static ERMailDeliveryHTML.Factory factory()
public static void setFactory(ERMailDeliveryHTML.Factory value)
value - the factory to usepublic static ERMailDeliveryHTML newMailDelivery()
public void setHiddenPlainTextContent(java.lang.String content)
public void setHTMLContent(java.lang.String content)
content - HTML content to be usedpublic void newMail()
newMail in class ERMailDeliveryprotected java.lang.String htmlContent()
protected javax.activation.DataHandler prepareMail()
throws javax.mail.MessagingException
prepareMail in class ERMailDeliveryjavax.mail.MessagingExceptionERMailDelivery#prepareMail
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||