com.ozacc.springframework.mail.util
クラス VelocityMailerSupport
java.lang.Object
com.ozacc.springframework.mail.util.VelocityMailerSupport
- public abstract class VelocityMailerSupport
- extends 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 org.apache.velocity.app.VelocityEngine velocityEngine
mailSender
protected JavaMailSender mailSender
VelocityMailerSupport
public VelocityMailerSupport()
mergeTemplateIntoString
protected String mergeTemplateIntoString(String templatePath,
Map context)
throws org.apache.velocity.exception.VelocityException
- 指定されたVelocityテンプレートにcontextをマージして
生成された文字列を返します。
- パラメータ:
templatePath
- context
-
- 戻り値:
- テンプレートにcontextをマージして生成された文字列
- 例外:
org.apache.velocity.exception.VelocityException
setMailSender
public void setMailSender(JavaMailSender sender)
- パラメータ:
sender
- JavaMailSender
setVelocityEngine
public void setVelocityEngine(org.apache.velocity.app.VelocityEngine engine)
- パラメータ:
engine
- VelocityEngine
Copyright © 2004 OZACC. All Rights Reserved.