private static String getResourceString(final String baseName,
final String resourceKey, final Locale locale,
final String defaultValue, final ClassLoader classloader) {
try {
// retrieve a resource bundle
IResourceBundle rb = ResourceBundleFactory.getBundle(baseName,
locale,
classloader);
final String result = rb.getString(resourceKey);
return result != null ? result : defaultValue;
} catch (Exception ex) {
getLogger().log(Level.FINE,
String.format("Resource not found. BaseName='%s'; "
+ "Key='%s'; Locale='%s'",