public interface I18NDictionary
I18NProvider| Modifier and Type | Method and Description |
|---|---|
String |
get(String key)
Gets the value for the specified key.
|
String |
get(String key,
Object[] args)
Get the value for the specified key replacing the tokens in order.
|
String get(String key)
key - the key to useString get(String key, Object[] args)
Here's my key, this {0} will be replaced and so will this {1}
key - the key to useargs - the arguments to replaceCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.