Code example for PropertyResourceBundle

Methods: getString

0
    } 
 
    public static String getString(String propertyName) {
        try { 
            String pluginString = PluginRes.getI18nRes(propertyName);
            return pluginString != null ? pluginString : prb.getString(propertyName);
        } 
        catch (Exception e) {
            Log.error(e);
            return propertyName;
        } 
 
    } 
 
    public static String getString(String propertyName, Object... obj) {
        String pluginString = PluginRes.getI18nRes(propertyName);
        String str = pluginString != null ? pluginString : prb.getString(propertyName);
        if (str == null) {
            return propertyName;
        } 
Contextual code suggestions in your IDE  Get Codota for Java