/** * Initialize the Velocity Runtime with a Properties object. * * @param Properties */ public static void init(Properties p) throws Exception { ri.init(p); }
/** * Initialize the Velocity Runtime with the name of ExtendedProperties object. * * @param Properties */ public static void init(String configurationFile) throws Exception { ri.init(configurationFile); }
/** * 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(); }