ResourceBundle.
Use fromResourceBundle(ResourceBundle) to obtain StringBundle
instance from ResourceBundle object.
| Modifier and Type | Method and Description |
|---|---|
| public default String | |
| public static StringBundle | Returns: the string bundlethe resource bundle bundle)Gets |
| public String |
| format | back to summary |
|---|---|
| public default String format(String key, Object... args) Gets a formatted message built from the pattern string matching the given key in this string bundle and the given arguments.
If non-empty list of arguments provided the function calls | |
| fromResourceBundle | back to summary |
|---|---|
| public static StringBundle fromResourceBundle(ResourceBundle bundle) Gets
| |
| getString | back to summary |
|---|---|
| public String getString(String key) Gets a string for the given key from this string bundle.
| |