public interface TranslationSnapshotReadContract
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMessage(String msgKey,
String msgFile)
Check if translation snapshot contains message
msgKey for file msgFile. |
String |
getLastMessageValue(String msgKey,
String msgFile)
Return the message value of the message key
msgKey as captured in the snapshot. |
boolean |
includesMsgFile(String msgFile)
Check if message file
msgFile is part of translation snapshot. |
Collection<String> |
listMsgFiles()
Lists all message files included in the translation snapshot
|
boolean includesMsgFile(String msgFile)
msgFile is part of translation snapshot.msgFile - message file path that is either included in the snapshot or it is notCollection<String> listMsgFiles()
boolean containsMessage(String msgKey, String msgFile)
msgKey for file msgFile.msgKey - key of message that might be contained in message file msgFilemsgFile - message file path that we assume is included in the snapshotString getLastMessageValue(String msgKey, String msgFile)
msgKey as captured in the snapshot.msgKey - key of the message to retrieve from message file msgFile - message file path that will be examined for given NoSuchElementException - if snapshot of file msgFile does not contain message with key msgKey
of if the snapshot doesn't include msgFile at allCopyright © 2021 FG Forrest, a.s.. All rights reserved.