/**
* {@inheritDoc}
*/
@Override
ResourceBundle get(String id) {
MapResourceBundle outputBundled = null;
try {
outputBundled = new MapResourceBundle(locale);
for (int i = 0; i < name.length; i++) {
ResourceBundle temp = getResourceBundle(name[i], locale, cl);
if (temp != null) {
outputBundled.merge(temp);
continue;
}
log_.warn("Cannot load and merge the bundle: " + name[i]);
}
outputBundled.resolveDependencies();
} catch (Exception ex) {
log_.error("Cannot load and merge the bundle: " + id, ex);
}
return outputBundled;
}