Beispiel #1
0
 /**
  * String property accessor method to hide the configuration implementation
  *
  * @param key property key
  * @return value of key or null
  */
 public static String getString(String key) {
   return RuntimeSingleton.getString(key);
 }
Beispiel #2
0
 /**
  * String property accessor method with default to hide the configuration implementation.
  *
  * @param String key property key
  * @param String defaultValue default value to return if key not found in resource manager.
  * @return String value of key or default
  */
 public static String getString(String key, String defaultValue) {
   return RuntimeSingleton.getString(key, defaultValue);
 }