ri.setProperty(Runtime.FILE_RESOURCE_LOADER_PATH, templatePath); ri.setProperty(Runtime.RUNTIME_LOG, pathToVelocityLog); ri.init();
----------------------------------------------------------------------- N O T E S O N R U N T I M E I N I T I A L I Z A T I O N ----------------------------------------------------------------------- init() If init() is called by itself the RuntimeInstance will initialize with a set of default values. ----------------------------------------------------------------------- init(String/Properties) In this case the default velocity properties are layed down first to provide a solid base, then any properties provided in the given properties object will override the corresponding default property. -----------------------------------------------------------------------@author Jason van Zyl @author Jeff Bowden @author Geir Magusson Jr. @version $Id: RuntimeInstance.java 703049 2008-10-09 03:18:58Z nbubna $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|