net.codescore.installer.wins
Class DBVelocityWriter

java.lang.Object
  extended by net.codescore.installer.wins.DBVelocityWriter

public class DBVelocityWriter
extends Object


Field Summary
protected  org.apache.velocity.VelocityContext context
           
(package private)  Properties dbprops
           
static String Encoding
           
protected  org.apache.velocity.Template template
           
protected  org.apache.velocity.app.VelocityEngine ve
           
 
Constructor Summary
DBVelocityWriter(Properties p)
           
 
Method Summary
private  String generateDBProps()
           
private  org.apache.velocity.VelocityContext getContext()
           
private  org.apache.velocity.Template getTemplate()
           
private  String getTemplateName()
           
private  org.apache.velocity.app.VelocityEngine getVelocityEngine()
           
private  void setupContext()
           
private  void setupTemplate()
           
private  void setupVelocity()
           
 void writeProps()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Encoding

public static final String Encoding
See Also:
Constant Field Values

context

protected org.apache.velocity.VelocityContext context

template

protected org.apache.velocity.Template template

ve

protected org.apache.velocity.app.VelocityEngine ve

dbprops

Properties dbprops
Constructor Detail

DBVelocityWriter

public DBVelocityWriter(Properties p)
Method Detail

writeProps

public void writeProps()

generateDBProps

private String generateDBProps()

getContext

private final org.apache.velocity.VelocityContext getContext()

getTemplate

private final org.apache.velocity.Template getTemplate()

getTemplateName

private String getTemplateName()

getVelocityEngine

private final org.apache.velocity.app.VelocityEngine getVelocityEngine()

setupContext

private void setupContext()

setupTemplate

private void setupTemplate()

setupVelocity

private void setupVelocity()


Copyright 2008 © Adam Cornett, Andrew Conner All Rights Reserved.