Class LocalConfig

java.lang.Object
me.nickhanson.codeforge.config.LocalConfig
All Implemented Interfaces:
PropertiesLoader

public class LocalConfig extends Object implements PropertiesLoader
Loads local configuration properties from a file.
  • Constructor Details

    • LocalConfig

      public LocalConfig()
  • Method Details

    • load

      public static Properties load()
      Loads the local configuration properties from 'test-db.properties'.
      Returns:
      Properties object containing the loaded properties.
    • get

      public static String get(String key)
      Retrieves the value of a specific property by key.
      Parameters:
      key - The property key.
      Returns:
      The property value associated with the key.