code: public String getFormatted(String key, Object... arguments) {
          return MessageFormat.format(resource.getString(key), arguments);
      }
docs: /*
  Gets a resource string formatted with MessageFormat.
  
  @param key the key
  @param arguments the arguments
  
  @return Formatted stirng.