Class PropertiesReader

java.lang.Object
org.episteme.core.io.properties.PropertiesReader

public class PropertiesReader extends Object
Loads properties from JSON resources.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Constructor Details

    • PropertiesReader

      public PropertiesReader()
  • Method Details

    • load

      public static PropertySet load(String resourcePath, String itemName)
      Loads properties for a specific item from a JSON resource.
      Parameters:
      resourcePath - Path to the JSON file (classpath).
      itemName - Name of the item to load (key in the JSON object).
      Returns:
      A PropertySet containing the loaded properties.