net.sf.jameleon.util
Class TemplateProcessor

java.lang.Object
  extended by net.sf.jameleon.util.TemplateProcessor

public class TemplateProcessor
extends Object


Field Summary
protected  org.apache.velocity.Template template
           
protected  String templateName
           
 
Constructor Summary
TemplateProcessor(String templateName)
           
 
Method Summary
 void transform(File toFile, Map params)
           
 String transformToString(Map params)
           
 void transformToWriter(Writer w, Map params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

template

protected org.apache.velocity.Template template

templateName

protected String templateName
Constructor Detail

TemplateProcessor

public TemplateProcessor(String templateName)
Method Detail

transform

public void transform(File toFile,
                      Map params)

transformToString

public String transformToString(Map params)

transformToWriter

public void transformToWriter(Writer w,
                              Map params)


Copyright © 2003-2008 Christian Hargraves. All Rights Reserved.