/** Returns the resource bundle used by this I18NHelper. * @return the associated resource bundle * @since 1.1 */ public ResourceBundle getResourceBundle () { assertBundle (); return bundle; }
/** Returns the resource bundle used by this I18NHelper. * @return the associated resource bundle * @since 1.1 */ public ResourceBundle getResourceBundle () { assertBundle (); return bundle; }
/** Message formatter * @param messageKey the message key * @param arg1 the first argument * @param arg2 the second argument * @return the resolved message text */ public String msg (String messageKey, Object arg1, Object arg2) { assertBundle (messageKey); return getMessage (bundle, messageKey, arg1, arg2); }
/** Message formatter * @param messageKey the message key * @param arg1 the first argument * @param arg2 the second argument * @param arg3 the third argument * @return the resolved message text */ public String msg (String messageKey, Object arg1, Object arg2, Object arg3) { assertBundle (messageKey); return getMessage (bundle, messageKey, arg1, arg2, arg3); }
/** Message formatter * @param messageKey the message key * @return the resolved message text */ public String msg (String messageKey) { assertBundle (messageKey); return getMessage (bundle, messageKey); }
/** Message formatter * @param messageKey the message key * @param arg1 the first argument * @param arg2 the second argument * @return the resolved message text */ public String msg (String messageKey, Object arg1, Object arg2) { assertBundle (messageKey); return getMessage (bundle, messageKey, arg1, arg2); }
/** Message formatter * @param messageKey the message key * @return the resolved message text */ public String msg (String messageKey) { assertBundle (messageKey); return getMessage (bundle, messageKey); }
/** Message formatter * @param messageKey the message key * @param arg1 the first argument * @return the resolved message text */ public String msg (String messageKey, Object arg1) { assertBundle (messageKey); return getMessage (bundle, messageKey, arg1); }
/** Message formatter * @param messageKey the message key * @param arg the argument * @return the resolved message text */ public String msg (String messageKey, int arg) { assertBundle (messageKey); return getMessage(bundle, messageKey, arg); }
/** Message formatter * @param messageKey the message key * @param arg the argument * @return the resolved message text */ public String msg (String messageKey, int arg) { assertBundle (messageKey); return getMessage(bundle, messageKey, arg); }
/** Message formatter * @param messageKey the message key * @param args the array of arguments * @return the resolved message text */ public String msg (String messageKey, Object[] args) { assertBundle (messageKey); return getMessage (bundle, messageKey, args); }
/** Message formatter * @param messageKey the message key * @param arg the argument * @return the resolved message text */ public String msg (String messageKey, boolean arg) { assertBundle (messageKey); return getMessage(bundle, messageKey, arg); }
/** Message formatter * @param messageKey the message key * @param arg1 the first argument * @return the resolved message text */ public String msg (String messageKey, Object arg1) { assertBundle (messageKey); return getMessage (bundle, messageKey, arg1); }
/** Message formatter * @param messageKey the message key * @param args the array of arguments * @return the resolved message text */ public String msg (String messageKey, Object[] args) { assertBundle (messageKey); return getMessage (bundle, messageKey, args); }
/** Message formatter * @param messageKey the message key * @param arg1 the first argument * @param arg2 the second argument * @param arg3 the third argument * @return the resolved message text */ public String msg (String messageKey, Object arg1, Object arg2, Object arg3) { assertBundle (messageKey); return getMessage (bundle, messageKey, arg1, arg2, arg3); }
/** Message formatter * @param messageKey the message key * @param arg the argument * @return the resolved message text */ public String msg (String messageKey, boolean arg) { assertBundle (messageKey); return getMessage(bundle, messageKey, arg); }