com.ozacc.springframework.mail.javamail
クラス VelocityJavaMailSenderImpl

java.lang.Object
  拡張JavaMailSenderImpl
      拡張com.ozacc.springframework.mail.javamail.IntlJavaMailSenderImpl
          拡張com.ozacc.springframework.mail.javamail.VelocityJavaMailSenderImpl
すべての実装インタフェース:
IntlJavaMailSender, VelocityJavaMailSender

public class VelocityJavaMailSenderImpl
extends IntlJavaMailSenderImpl
implements VelocityJavaMailSender

VelocityJavaMailSenderインターフェースの実装クラス。 VelocityEngineインスタンスに依存しますが、このインスタンスが セットされていない場合は、次のbean定義と同等のVelocityEngineを 生成します。

 
 	true
 	
 		
 			class
 			org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
 			UTF-8
 			UTF-8
 			
 		
 	
 
 

このクラスにVelocityEngineインスタンスの生成を任せる場合、Velocityテンプレートは UTF-8でエンコードしてください。

NOTE: まだ実験段階です。

バージョン:
$Id: VelocityJavaMailSenderImpl.java,v 1.1 2004/08/02 20:39:06 otsuka Exp $
作成者:
Tomohiro Otsuka
関連項目:
直列化された形式

フィールドの概要
 
クラス com.ozacc.springframework.mail.javamail.IntlJavaMailSenderImpl から継承したフィールド
charset, JIS_ENCODING
 
コンストラクタの概要
VelocityJavaMailSenderImpl()
           
 
メソッドの概要
 void send(VelocityMailMessage velocityMailMessage)
          Send the given VelocityMailMessage.
 void send(VelocityMailMessage[] velocityMailMessages)
          Send the given VelocityMailMessages.
 void setVelocityEngine(VelocityEngine engine)
           
 
クラス com.ozacc.springframework.mail.javamail.IntlJavaMailSenderImpl から継承したメソッド
assembleMailHeader, send, send, setCharset, setText
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース com.ozacc.springframework.mail.javamail.IntlJavaMailSender から継承したメソッド
send, send
 

コンストラクタの詳細

VelocityJavaMailSenderImpl

public VelocityJavaMailSenderImpl()
メソッドの詳細

send

public void send(VelocityMailMessage velocityMailMessage)
          throws MailException
インタフェース VelocityJavaMailSender の記述:
Send the given VelocityMailMessage.

定義:
インタフェース VelocityJavaMailSender 内の send
パラメータ:
velocityMailMessage - 送信するVelocityMailMessage
例外:
MailException
関連項目:
VelocityJavaMailSender.send(com.ozacc.springframework.mail.VelocityMailMessage)

send

public void send(VelocityMailMessage[] velocityMailMessages)
          throws MailException
インタフェース VelocityJavaMailSender の記述:
Send the given VelocityMailMessages.

定義:
インタフェース VelocityJavaMailSender 内の send
パラメータ:
velocityMailMessages - 送信するVelocityMailMessageの配列
例外:
MailException
関連項目:
VelocityJavaMailSender.send(com.ozacc.springframework.mail.VelocityMailMessage[])

setVelocityEngine

public void setVelocityEngine(VelocityEngine engine)
パラメータ:
engine -


Copyright © 2004 OZACC. All Rights Reserved.