static Message message(String key, Object... args) { return new FormattedMessage(BASE_CLASS, key, args); }
private FormattedResourceBundle bundle(Locale locale) { return FormattedResourceBundle.bundle(baseName(), locale); } }
@Override public String toString(Locale locale) { final FormattedResourceBundle bundle = bundle(locale); return 0 == args.length ? bundle.lookup(key) : bundle.format(key, args); }
static Message message(String key, Object... args) { return new FormattedMessage(BASE_CLASS, key, args); }
static Message message(String key, Object... args) { return new FormattedMessage(BASE_CLASS, key, args); }
static Message message(String key, Object... args) { return new FormattedMessage(BASE_CLASS, key, args); }