class ResourceBundleStringRetriever {

    public String getMessage(String key, Object... args)
    {
        String message = bundle.getString(key);
        if (args != null && args.length > 0)
            return MessageFormat.format(message, args);
        else
            return message;
    }

    public  ResourceBundleStringRetriever(String bundleName);

}