LocalizedTextImpl
public interface LocalizedText
Modifier and Type | Method | Description |
---|---|---|
java.util.Collection<java.util.Locale> |
getLocales() |
|
java.lang.String |
getText() |
|
java.lang.String |
getText(java.util.Locale locale) |
|
java.util.Set<Translation> |
getTranslations() |
|
void |
setText(java.util.Locale locale,
java.lang.String text) |
sets (means: "add" or "replace") a text with a given locale
|
void |
setTranslations(java.util.Set<Translation> translations) |
java.util.Collection<java.util.Locale> getLocales()
java.lang.String getText()
java.lang.String getText(java.util.Locale locale)
locale
- the desired locale.java.util.Set<Translation> getTranslations()
void setTranslations(java.util.Set<Translation> translations)
void setText(java.util.Locale locale, java.lang.String text)
locale
- the locale of text
text
- the text contentCopyright © 2018. All rights reserved.