/// <summary> Allow an external system to set an ExtendedProperties
 /// object to use. This is useful where the external
 /// system also uses the ExtendedProperties class and
 /// the velocity configuration is a subset of
 /// parent application's configuration. This is
 /// the case with Turbine.
 /// *
 /// </summary>
 /// <param name="ExtendedProperties">configuration
 ///
 /// </param>
 /// <summary> Add a property to the configuration. If it already
 /// exists then the value stated here will be added
 /// to the configuration entry. For example, if
 /// *
 /// resource.loader = file
 /// *
 /// is already present in the configuration and you
 /// *
 /// addProperty("resource.loader", "classpath")
 /// *
 /// Then you will end up with a Vector like the
 /// following:
 /// *
 /// ["file", "classpath"]
 /// *
 /// </summary>
 /// <param name="String">key
 /// </param>
 /// <param name="String">value
 ///
 /// </param>
 public static void addProperty(String key, Object value_)
 {
     ri.addProperty(key, value_);
 }
Пример #2
0
        /// <summary> Allow an external system to set an ExtendedProperties
        /// object to use. This is useful where the external
        /// system also uses the ExtendedProperties class and
        /// the velocity configuration is a subset of
        /// parent application's configuration. This is
        /// the case with Turbine.
        /// *
        /// </summary>
        /// <param name="ExtendedProperties">configuration
        ///
        /// </param>

        /// <summary> Add a property to the configuration. If it already
        /// exists then the value stated here will be added
        /// to the configuration entry. For example, if
        /// *
        /// resource.loader = file
        /// *
        /// is already present in the configuration and you
        /// *
        /// addProperty("resource.loader", "classpath")
        /// *
        /// Then you will end up with a Vector like the
        /// following:
        /// *
        /// ["file", "classpath"]
        /// *
        /// </summary>
        /// <param name="String">key
        /// </param>
        /// <param name="String">value
        ///
        /// </param>
        public static void  addProperty(System.String key, System.Object value_Renamed)
        {
            ri.addProperty(key, value_Renamed);
        }