Inheritance: System.util.Properties
Example #1
0
 /**
 * @see java.util.Properties#setProperty(java.lang.String, java.lang.String)
 *
 * @param key
 * @param value
 * @return the previous property (null if there wasn't one)
 */
 public void SetProperty(String key, LangAlt value)
 {
     base[key] = value.ToString();
 }
Example #2
0
 /**
  * Adds a description.
  * @param desc
  */
 virtual public void AddDescription(LangAlt desc)
 {
     SetProperty(DESCRIPTION, desc);
 }
Example #3
0
 /**
  * Adds a title.
  * @param title
  */
 virtual public void AddTitle(LangAlt title)
 {
     SetProperty(TITLE, title);
 }
 /**
  * @see java.util.Properties#setProperty(java.lang.String, java.lang.String)
  *
  * @param key
  * @param value
  * @return the previous property (null if there wasn't one)
  */
 public void SetProperty(String key, LangAlt value)
 {
     base[key] = value.ToString();
 }
 /**
  * Adds a description.
  * @param desc
  */
 virtual public void AddDescription(LangAlt desc) {
     SetProperty(DESCRIPTION, desc);
 }
 /**
  * Adds a title.
  * @param title
  */
 virtual public void AddTitle(LangAlt title) {
     SetProperty(TITLE, title);
 }