public class ApronMessageWriter extends Object implements MessageWriter
MessageWriter using Apron library.
This should replace MessageFileContentMessageWriter after
SnapshotManager is refactored so that it doesn't need two instances of Snapshot.| Constructor and Description |
|---|
ApronMessageWriter(String filePath,
Collection<String> translations) |
| Modifier and Type | Method and Description |
|---|---|
void |
storePrimaryMessage(String msgKey,
String msgValue)
Stores new message in primary language.
|
void |
storeTranslation(String language,
String msgKey,
String msgValue)
Stores translation (message in language different from primary).
|
public ApronMessageWriter(String filePath, Collection<String> translations)
public void storePrimaryMessage(String msgKey, String msgValue)
MessageWriterstorePrimaryMessage in interface MessageWritermsgKey - message keymsgValue - message valuepublic void storeTranslation(String language, String msgKey, String msgValue)
MessageWriterstoreTranslation in interface MessageWriterlanguage - translation languagemsgKey - message keymsgValue - message valueCopyright © 2025 FG Forrest, a.s.. All rights reserved.