Class EmailTemplate

java.lang.Object
com.netscape.cmscore.notification.EmailTemplate

public class EmailTemplate extends Object
Files to be processed and returned to the requested parties. It is a template with $tokens to be used by the form/template processor.
Author:
cfu
  • Field Details

    • logger

      public static org.slf4j.Logger logger
    • mFileContents

      public String mFileContents
  • Constructor Details

    • EmailTemplate

      public EmailTemplate(String templatePath)
      Default Constructor
      Parameters:
      templatePath - File name of the template including the full path and file extension
  • Method Details

    • init

      public boolean init()
    • getTemplateName

      public String getTemplateName()
      Returns:
      Template Name in string form
    • isHTML

      public boolean isHTML()
      Returns:
      true if template is an html file, false otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      Content of the template
    • length

      public int length()