Creates a new instance of LocalStringsManager this.resourceBundle = ResourceBundle.getBundle(packageName + "." + propertyFile);
this.resourceBundle = ResourceBundle.getBundle(packageName + "." + propertyFile);
return packageName;
return propertyFile;
String value = ""; try { value = resourceBundle.getString(key); } catch (MissingResourceException mre) { // if not found, try next resource bundle in the iterator } return value;
String fmtStr = ""; try { MessageFormat msgFormat = new MessageFormat(getString(key)); fmtStr = msgFormat.format(toInsert); } catch(Exception e) { } return fmtStr;