|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ploin.pmf.impl.MailReader
public class MailReader
Description: Implementation of the IMailReader interface.
This class offers methods for reading the template files.
| Constructor Summary | |
|---|---|
MailReader()
|
|
| Method Summary | |
|---|---|
String |
getDirectory()
Returns the directory where the email-templates and the clients are in. |
String |
getHtmlExtension()
returns the html extension. |
String |
getHtmlMail(TemplateConfig templateConfig)
This method returns the html-mail-template to the mailName as String. |
String |
getPlainExtension()
returns the plain extension. |
String |
getPlainMail(TemplateConfig templateConfig)
This method returns the plain-mail template as String for a given mailName. |
void |
setDirectory(String directory)
Set teh directory where the email-templates and the clients are in. |
void |
setHtmlExtension(String htmlExtension)
Set the html extension. |
void |
setPlainExtension(String plainExtendsion)
Set the plain extension. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MailReader()
| Method Detail |
|---|
public String getHtmlMail(TemplateConfig templateConfig)
throws MailFactoryException
IMailReader
getHtmlMail in interface IMailReadertemplateConfig - containing client, locale, template-name and map.
MailFactoryException
public String getPlainMail(TemplateConfig templateConfig)
throws MailFactoryException
IMailReader
getPlainMail in interface IMailReadertemplateConfig - containing client, locale, template-name and map.
MailFactoryExceptionpublic String getDirectory()
IMailReader
getDirectory in interface IMailReaderpublic void setDirectory(String directory)
IMailReader
setDirectory in interface IMailReaderpublic String getHtmlExtension()
IMailReader
getHtmlExtension in interface IMailReaderpublic void setHtmlExtension(String htmlExtension)
IMailReader
setHtmlExtension in interface IMailReaderpublic String getPlainExtension()
IMailReader
getPlainExtension in interface IMailReaderpublic void setPlainExtension(String plainExtendsion)
IMailReader
setPlainExtension in interface IMailReader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||