MCPcopy Index your code
hub / github.com/OpenSourcePhysics/osp / getString

Method getString

src/org/opensourcephysics/tools/LaunchRes.java:72–78  ·  view source on GitHub ↗

Gets the localized value of a string. If no localized value is found, the key is returned surrounded by exclamation points. @param key the string to localize @return the localized string

(String key)

Source from the content-addressed store, hash-verified

70 * @return the localized string
71 */
72 static String getString(String key) {
73 try {
74 return res.getString(key);
75 } catch (MissingResourceException ex) {
76 return "!" + key + "!"; //$NON-NLS-1$ //$NON-NLS-2$
77 }
78 }
79
80 /**
81 * Adds a PropertyChangeListener.

Callers 15

saveMethod · 0.95
saveAsMethod · 0.95
saveTabSetAsMethod · 0.95
refreshNodeMethod · 0.95
addTabMethod · 0.95
saveChangesMethod · 0.95
saveAllChangesMethod · 0.95
refreshGUIMethod · 0.95
createGUIMethod · 0.95
mousePressedMethod · 0.95
createActionsMethod · 0.95

Calls 1

getStringMethod · 0.65

Tested by

no test coverage detected