Class ConfigPuller
java.lang.Object
ActiverseEngine.ConfigPuller
ConfigPuller - Utility for loading configuration from Activerse.properties
Provides centralized configuration management for ActiverseEngine applications
- Version:
- 1.4.1
- Author:
- Knivier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleangetBoolean(String key, boolean defaultValue) Gets a boolean property valuestatic doubleGets a double property valuestatic intGets an integer property valuestatic StringGets a string property valuestatic voidreload()Reloads the properties file from disk
-
Constructor Details
-
ConfigPuller
public ConfigPuller()
-
-
Method Details
-
getString
-
getInt
Gets an integer property value- Parameters:
key- Property keydefaultValue- Default value if property not found or invalid- Returns:
- Property value or default
-
getBoolean
Gets a boolean property value- Parameters:
key- Property keydefaultValue- Default value if property not found- Returns:
- Property value or default
-
getDouble
Gets a double property value- Parameters:
key- Property keydefaultValue- Default value if property not found or invalid- Returns:
- Property value or default
-
reload
public static void reload()Reloads the properties file from disk
-