public interface I18NDictionary
I18NProvider
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get(java.lang.String key)
Gets the value for the specified key.
|
java.lang.String |
get(java.lang.String key,
java.lang.Object[] args)
Get the value for the specified key replacing the tokens in order.
|
java.lang.String get(java.lang.String key)
key
- the key to usejava.lang.String get(java.lang.String key, java.lang.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–2019 The Apache Software Foundation. All rights reserved.