Interface LocalizationStorage
-
- All Implemented Interfaces:
public interface LocalizationStorageLocalization storage.
-
-
Method Summary
Modifier and Type Method Description abstract List<String>getSupportedLanguages()Gets a list of all supported languages. abstract List<LocalizedData>getLocalizedData(List<String> references, @Nullable() BigInteger version, List<String> languages, List<LocalizedTextWidth> textWidths, List<BigInteger> numberOfLines)Gets a localized text that is referenced in the MDIB. -
-
Method Detail
-
getSupportedLanguages
abstract List<String> getSupportedLanguages()
Gets a list of all supported languages.
- Returns:
a list of supported language identifiers.
-
getLocalizedData
abstract List<LocalizedData> getLocalizedData(List<String> references, @Nullable() BigInteger version, List<String> languages, List<LocalizedTextWidth> textWidths, List<BigInteger> numberOfLines)
Gets a localized text that is referenced in the MDIB.
- Parameters:
references- a zero or more reference names of the texts that are requested.version- of the referenced text that is requested.languages- a zero or more language identifiers to get different translations of the requested text.textWidths- a zero or more LocalizedTextWidth values to filter texts by their width.numberOfLines- a zero or more number of lines to filter texts by their number of lines.- Returns:
a list of LocalizedData texts that matches search criteria.
-
-
-
-