MCPcopy Create free account
hub / github.com/PCGen/pcgen / getProperty

Method getProperty

code/src/java/pcgen/system/LanguageBundle.java:104–121  ·  view source on GitHub ↗

author: Thomas Behr 03-01-02 @param key @return property

(String key)

Source from the content-addressed store, hash-verified

102 * @return property
103 */
104 private static String getProperty(String key)
105 {
106 if (bundle == null)
107 {
108 init();
109 }
110
111 String value;
112 try
113 {
114 value = bundle.getString(key);
115 }
116 catch (MissingResourceException mre)
117 {
118 value = key + UNDEFINED;
119 }
120 return value;
121 }
122
123 /**
124 * author: Thomas Behr 03-01-02

Callers 2

getStringMethod · 0.95
getMnemonicMethod · 0.95

Calls 2

initMethod · 0.95
getStringMethod · 0.65

Tested by

no test coverage detected