public class BootstrapTranslationStore extends Object implements TranslationStore
This is a very thin wrapper around a ResourceBundle for the given Locale.
See JRA-43308| Constructor and Description |
|---|
BootstrapTranslationStore(Locale locale) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(String key)
Whether this TranslationStore contains the given key.
|
String |
get(String key)
Returns the i18n value associated with a key.
|
Iterable<String> |
keys()
Returns an Iterable over this TranslationStore's keys.
|
public BootstrapTranslationStore(Locale locale)
public String get(String key)
TranslationStoreget in interface TranslationStorekey - a String keypublic boolean containsKey(String key)
TranslationStorecontainsKey in interface TranslationStorekey - a String keypublic Iterable<String> keys()
TranslationStorekeys in interface TranslationStoreCopyright © 2002-2022 Atlassian. All Rights Reserved.