public interface MessageLoader
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeLoaded(String filePath)
Indicates whether file could be loaded by implementation.
|
Map<String,String> |
loadPrimaryMessages(String filePath)
Loads primary language messages for given message file path.
|
Map<String,Map<String,String>> |
loadTranslations(String filePath,
List<String> languages)
Loads translations of messages for given message file path
filePath, searching for translations to
languages given in languages. |
boolean canBeLoaded(String filePath)
Map<String,String> loadPrimaryMessages(String filePath)
filePath - path to message file to load messages fromfilePath, mapped by message keysMap<String,Map<String,String>> loadTranslations(String filePath, List<String> languages)
filePath, searching for translations to
languages given in languages. For languages where the translation is missing, the translations are empty.filePath - path to primary message file to load translated messages forlanguages - languages of translations to fetchCopyright © 2025 FG Forrest, a.s.. All rights reserved.