MailTemplateParser (consumer-service 1.9.2-3.5.0 API)
Date: 2014-11-12

org.gcube.messaging.common.consumer.mail

## Class MailTemplateParser

- java.lang.Object
- - org.gcube.messaging.common.consumer.mail.MailTemplateParser

-     public class MailTemplateParser
      extends Object

  Author:
    Andrea Manzi(CERN)

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static org.gcube.common.core.utils.logging.GCUBELog` | `logger` The Logger

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MailTemplateParser(String file)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `HashMap<String,String>` | `getTemplateMap()`
    `void` | `parseMailTemplates()` parse the Templates
    `void` | `setTemplateMap(HashMap<String,String> templateMap)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### logger

          public static org.gcube.common.core.utils.logging.GCUBELog logger

      The Logger

  - ### Constructor Detail

    - #### MailTemplateParser

          public MailTemplateParser(String file)
                             throws Exception

      Throws:
        `Exception`

  - ### Method Detail

    - #### parseMailTemplates

          public void parseMailTemplates()

      parse the Templates

    - #### getTemplateMap

          public HashMap<String,String> getTemplateMap()

    - #### setTemplateMap

          public void setTemplateMap(HashMap<String,String> templateMap)

Copyright © 2014. All Rights Reserved.