com.netscape.cms.servlet.common
Class CMSTemplate

java.lang.Object
  extended by com.netscape.cms.servlet.common.CMSFile
      extended by com.netscape.cms.servlet.common.CMSTemplate

public class CMSTemplate
extends CMSFile

File templates. This implementation will take an HTML file with a special customer tag <CMS_TEMPLATE> and replace the tag with a series of javascript variable definitions (depending on the servlet)

Version:
$Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Field Summary
 java.lang.String mPostOutput
           
 java.lang.String mPreOutput
           
static java.lang.String SUFFIX
           
static java.lang.String TEMPLATE_TAG
           
 
Fields inherited from class com.netscape.cms.servlet.common.CMSFile
mAbsPath, mContent, mLastAccess, mLastModified
 
Constructor Summary
CMSTemplate(java.io.File file, java.lang.String charset)
          Constructor
 
Method Summary
static java.lang.String escapeJavaScriptString(java.lang.String v)
          Escape the contents of src string in preparation to be enclosed in double quotes as a JavaScript String Literal within an