public interface Label
Modifier and Type | Method and Description |
---|---|
String |
getLabel(Language language)
Try getting a label in the following order:
the label for the specified language;
the label for the
fallback language ;
the value itself. |
String |
getLabel(String lang)
Convenience method to get a label based on a language abbreviation.
|
void |
putLabel(Language language,
String label)
Set the label for the specified language.
|
void |
putLabel(String lang,
String label)
Convenience method to put a label based on a language abbreviation.
|
String getLabel(Language language)
fallback language
;
language
- The language to look up.String getLabel(String lang)
lang
- The language abbreviation.getLabel(Language)
void putLabel(Language language, String label)
language
- The language to store in.label
- The label to store.Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408