public class Res extends Object
Modifier and Type | Method and Description |
---|---|
String |
format(String key,
Object... arguments)
Get the message value from ResourceBundle by the key then format with the arguments.
|
String |
get(String key)
Get the message value from ResourceBundle of the related Locale.
|
ResourceBundle |
getResourceBundle() |
public String get(String key)
key
- message keypublic String format(String key, Object... arguments)
public ResourceBundle getResourceBundle()
Copyright © 2018. All rights reserved.