|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
Velocityと連携して動的にメールデータを生成し、そのデータからMailインスタンスを生成するインターフェース。
XMLMailBuilder
,
JDomXMLMailBuilder
メソッドの概要 | |
Mail |
buildMail(File file,
VelocityContext context)
指定されたファイルを読み込んでMailインスタンスを生成します。 |
Mail |
buildMail(String classPath,
VelocityContext context)
指定されたクラスパス上のファイルを読み込んでMailインスタンスを生成します。 |
インタフェース com.ozacc.mail.MailBuilder から継承したメソッド |
buildMail, buildMail |
メソッドの詳細 |
public Mail buildMail(String classPath, VelocityContext context) throws MailBuildException
classPath
- メール内容を記述したファイルのパスcontext
- VelocityContext
MailBuildException
- Mailインスタンスの生成に失敗した場合public Mail buildMail(File file, VelocityContext context) throws MailBuildException
file
- メール内容を記述したファイルcontext
- VelocityContext
MailBuildException
- Mailインスタンスの生成に失敗した場合
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |