com.ozacc.springframework.mail.util
クラス VelocityMailerSupport
java.lang.Object
com.ozacc.springframework.mail.util.VelocityMailerSupport
- public abstract class VelocityMailerSupport
- extends java.lang.Object
- バージョン:
- $Id: VelocityMailerSupport.java,v 1.1 2004/08/02 20:39:06 otsuka Exp $
- 作成者:
- Tomohiro Otsuka
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
velocityEngine
protected VelocityEngine velocityEngine
mailSender
protected JavaMailSender mailSender
VelocityMailerSupport
public VelocityMailerSupport()
mergeTemplateIntoString
protected java.lang.String mergeTemplateIntoString(java.lang.String templatePath,
java.util.Map context)
throws VelocityException
- 指定されたVelocityテンプレートにcontextをマージして
生成された文字列を返します。
- パラメータ:
templatePath
- context
-
- 戻り値:
- テンプレートにcontextをマージして生成された文字列
- 例外:
VelocityException
setMailSender
public void setMailSender(JavaMailSender sender)
- パラメータ:
sender
- JavaMailSender
setVelocityEngine
public void setVelocityEngine(VelocityEngine engine)
- パラメータ:
engine
- VelocityEngine
Copyright © 2004 OZACC. All Rights Reserved.