Class MessagePackLoader
java.lang.Object
org.ek9lang.compiler.common.MessagePackLoader
Loads alternative error messages and DI guidance from a zip file.
The zip structure mirrors the built-in resource layout:
manifest.properties richErrorMessages/rich-error-manifest.txt richErrorMessages/E01010.txt diAnalysis/di-analysis-manifest.txt diAnalysis/di-health-good.txt
Both directories are optional — a zip can override just error messages,
just DI guidance, or both. The manifest.properties is required.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionloadDiGuidance(Path zipPath) Load DI guidance overrides from the zip.loadRichMessages(Path zipPath) Load rich error message overrides from the zip.
-
Constructor Details
-
MessagePackLoader
public MessagePackLoader()
-
-
Method Details
-
loadRichMessages
-
loadDiGuidance
-