4041424344454647484950
* @return ラベル名 */ public static String getLabel(String key) { String value = null; ResourceBundle bundle = ResourceBundle.getBundle("config/label", new XMLResourceBundleControl()); value = bundle.getString(key); if (value == null) { return key; } return value;
5657585960616263
* @param key キー * @return メッセージ */ public static String getMessage(String key) { ResourceBundle bundle = ResourceBundle.getBundle("config/message", new XMLResourceBundleControl()); return bundle.getString(key); }