org.ploin.pmf
Interface IMailReplacer
- All Known Implementing Classes:
- MailReplacer
public interface IMailReplacer
Description: This interface offers a method to replace all string-snippets
which are matching the keys of the replaceMap.
$LastChangedBy: r.reiz $
$Revision: 77 $
$Date: 2010-03-15 13:13:45 +0100 (Mon, 15 Mar 2010) $
|
Method Summary |
String |
replace(String mail,
Map<String,String> replaceMap)
This method replaces all string-snippets which are matching the keys of
the replaceMap with the values of the replaceMap. |
replace
String replace(String mail,
Map<String,String> replaceMap)
throws MailFactoryException
- This method replaces all string-snippets which are matching the keys of
the replaceMap with the values of the replaceMap.
- Parameters:
mail - - the email-templatereplaceMap - - the given map by the user
- Returns:
- a new email-text
- Throws:
MailFactoryException
Copyright © 2012 PLOIN GmbH. All Rights Reserved.