public interface I18nMessageStandard
Modifier and Type | Method and Description |
---|---|
String |
getMessage(String code)
根据代码获取
|
String |
getMessage(String code,
Locale locale)
采用指定区域获取信息
|
String |
getMessage(String code,
Locale locale,
String defaultMessage,
Object... args)
采用指定区域获取信息
|
String |
getMessage(String code,
String defaultMessage,
Object... args)
采用默认区域获取信息,不存在则返回默认值
|
String getMessage(String code, String defaultMessage, Object... args)
code
- 信息代码defaultMessage
- 默认值args
- 参数列表String getMessage(String code, Locale locale, String defaultMessage, Object... args)
code
- 信息代码args
- 参数defaultMessage
- 默认值locale
- 区域Copyright © 2006–2018 TinyGroup. All rights reserved.