public final class R extends Object
ResourceBundle
s.Modifier and Type | Method and Description |
---|---|
static String |
get(String key,
Object... values)
Gets a translated message.
|
static void |
setBundle(ResourceBundle resourceBundle)
Programmatically set the ResourceBundle to be used.
|
static void |
setUseNeutralMessages(boolean useNeutral)
If set to
true , messages will not be obtained from resource bundles but formatted as
key:param1:...:paramN . |
public static void setBundle(ResourceBundle resourceBundle)
resourceBundle
- the bundle to be used.public static void setUseNeutralMessages(boolean useNeutral)
true
, messages will not be obtained from resource bundles but formatted as
key:param1:...:paramN
.useNeutral
- true
to use neutral messages, false
otherwiseCopyright © 2016 jitsi.org. All rights reserved.