Class DiGuidanceLoader

java.lang.Object
org.ek9lang.compiler.common.DiGuidanceLoader

public class DiGuidanceLoader extends Object
Loads DI analysis guidance messages from individual .txt resource files listed in a manifest. Each .txt file is named by guidance key (e.g., di-health-good.txt) and contains structured guidance text with [SECTION] headers.

This follows the same externalization pattern as RichErrorMessageLoader, allowing researchers to create alternative guidance packs without modifying Java code.

  • Constructor Details

    • DiGuidanceLoader

      public DiGuidanceLoader()
  • Method Details

    • loadAll

      public Map<String,String> loadAll()
      Load all DI guidance messages from manifest-listed .txt resource files.
      Returns:
      unmodifiable map of guidance key to message text