Package me.nickhanson.codeforge.config
Class LocalConfig
java.lang.Object
me.nickhanson.codeforge.config.LocalConfig
- All Implemented Interfaces:
PropertiesLoader
Loads local configuration properties from a file.
-
Field Summary
Fields inherited from interface me.nickhanson.codeforge.config.PropertiesLoader
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringRetrieves the value of a specific property by key.static Propertiesload()Loads the local configuration properties from 'test-db.properties'.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.nickhanson.codeforge.config.PropertiesLoader
loadProperties
-
Constructor Details
-
LocalConfig
public LocalConfig()
-
-
Method Details
-
load
Loads the local configuration properties from 'test-db.properties'.- Returns:
- Properties object containing the loaded properties.
-
get
Retrieves the value of a specific property by key.- Parameters:
key- The property key.- Returns:
- The property value associated with the key.
-