Interface LocalizedValue<K,V>
-
- Type Parameters:
K- key typeV- value type
public interface LocalizedValue<K,V>localized text definition.- Author:
- Manfred Tremmel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<K,V>getLocalizedText()get map of localized texts.VgetLocalizedText(K language)get localized text for specific language.voidputLocalizedText(K language, V text)add or update a text for the given language.voidsetLocalizedText(Map<K,V> localizedText)set localized text.
-
-
-
Method Detail
-
setLocalizedText
void setLocalizedText(Map<K,V> localizedText)
set localized text.- Parameters:
localizedText- map of localized texts
-
putLocalizedText
void putLocalizedText(K language, V text)
add or update a text for the given language.- Parameters:
language- the language for the texttext- localized text
-
getLocalizedText
Map<K,V> getLocalizedText()
get map of localized texts.- Returns:
- map with languages and corresponding texts
-
-