Ejemplo n.º 1
0
 /**
  * Initialize the Velocity Runtime with a Properties object.
  *
  * @param Properties
  */
 public static void init(Properties p) throws Exception {
   ri.init(p);
 }
Ejemplo n.º 2
0
 /**
  * Initialize the Velocity Runtime with the name of ExtendedProperties object.
  *
  * @param Properties
  */
 public static void init(String configurationFile) throws Exception {
   ri.init(configurationFile);
 }
Ejemplo n.º 3
0
 /**
  * This is the primary initialization method in the Velocity Runtime. The systems that are
  * setup/initialized here are as follows:
  *
  * <ul>
  *   <li>Logging System
  *   <li>ResourceManager
  *   <li>Parser Pool
  *   <li>Global Cache
  *   <li>Static Content Include System
  *   <li>Velocimacro System
  * </ul>
  */
 public static synchronized void init() throws Exception {
   ri.init();
 }