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.

                                    ........
                                 .WHHUUVOOOOU&,
     dMMMMMMMMMMMa,   .MMMMF   .MHW0Oz+!``````?G.   .MMMM% .MMMMMMMMMMMN,
    .MMMMMMMMMMMMMMr  JMMMM   JHHXwOz;:^..```  `O,  JMMM#  dMMMMMMMMMMMMN
    JMMM#     ,MMMMF  MMMMF  .MHVXwOz++.^.````  +n .MMMM$ .MMMMt    dMMM#
   .MMMMt     .MMMMt .MMMM!  JMHWWXwOz++....  `.+X JMMMM  JMMMM    .MMMM%
   JMMM#     .MMMM@  dMMM#   ,MHHWWXwOzz+++....?df MMMMF .MMMMF    JMMM#
  .MMMMNNNNNMMMMMD   MMMMMNNm 4MHHWWXXwOOzzz1+1wX'.MMMM! .MMMM`   .MMMM$
  .MMMMMMMMMMMM"`    .YMMMMMF  TMHHHWWWXXXwwwwXK! MMMMF  MMMMF    JMMMM
  MMMMF                          TMMHHHHHWWWHY^
 .MMMM'                             `7""""^`
 dMMM#
 

$HeadURL: https://ploinscm.de/svn/ploinMailFactory/trunk/src/main/java/org/ploin/pmf/IMailReplacer.java $
$LastChangedBy: r.reiz $
$Revision: 46 $
$Date: 2009-11-16 01:37:57 +0100 (Mon, 16 Nov 2009) $


Method Summary
 java.lang.String replace(java.lang.String mail, java.util.Map<java.lang.String,java.lang.String> replaceMap)
          This method replaces all string-snippets which are matching the keys of the replaceMap with the values of the replaceMap.
 

Method Detail

replace

java.lang.String replace(java.lang.String mail,
                         java.util.Map<java.lang.String,java.lang.String> replaceMap)
This method replaces all string-snippets which are matching the keys of the replaceMap with the values of the replaceMap.

Parameters:
mail - - the email-template
replaceMap - - the given map by the user
Returns:
a new email-text


Copyright © 2009 PLOIN GmbH. All Rights Reserved.