public static class TranslationMap.TranslationHashMap extends Object implements Translation
| Constructor and Description |
|---|
TranslationHashMap(Locale locale) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
asMap() |
void |
clear() |
TranslationMap.TranslationHashMap |
doImport(InputStream is) |
String |
getLanguage() |
Locale |
getLocale() |
TranslationMap.TranslationHashMap |
put(String key,
String val) |
String |
toString() |
String |
tr(String key,
Object... params) |
public TranslationHashMap(Locale locale)
public void clear()
public Locale getLocale()
getLocale in interface Translationpublic String getLanguage()
getLanguage in interface Translationpublic String tr(String key, Object... params)
tr in interface Translationpublic TranslationMap.TranslationHashMap put(String key, String val)
public Map<String,String> asMap()
asMap in interface Translationpublic TranslationMap.TranslationHashMap doImport(InputStream is)
Copyright © 2012–2020. All rights reserved.