Esempio n. 1
0
 /**
  * 鏍规嵁key 鏉ユ煡鎵�鍊�
  *
  * @param key
  * @return
  */
 public static String getMsgByKey(String key) {
   if (key == null | key.trim().length() <= 0) {
     return null;
   }
   return applicationContext.getMessage(key, null, Locale.getDefault());
 }
Esempio n. 2
0
 public String getMessage(String arg0, Object[] arg1, Locale arg2) throws NoSuchMessageException {
   return applicationContext.getMessage(arg0, arg1, arg2);
 }
Esempio n. 3
0
 public String getMessage(String arg0, Object[] arg1, String arg2, Locale arg3) {
   return applicationContext.getMessage(arg0, arg1, arg2, arg3);
 }
Esempio n. 4
0
 public String getMessage(MessageSourceResolvable arg0, Locale arg1)
     throws NoSuchMessageException {
   return applicationContext.getMessage(arg0, arg1);
 }