private String retrieveValue(String key) {
        String wholeKey = "stat." + resourceKey + "." + key;
        if (pluginName != null) {
            return LocaleUtils.getLocalizedString(wholeKey, pluginName);
        }
        else {
            return LocaleUtils.getLocalizedString(wholeKey);
        }
    }
A convience class to build statistic parameters out of a resource bundle.

@author Alexander Wenckus
xmppserver/src/main/java/org/jivesoftware/openfire/stats/i18nStatistic.java