Juneau Config
Configuration files as POJOs, with variables and live reload.
# A set of entries
[Section1]
# An integer
key1 = 1
# A boolean
key2 = true
import org.apache.juneau.config.*;
Config config = Config.create("MyConfig.cfg").build();
int key1 = config.get("Section1/key1").asInteger().orElse(-1);
boolean key2 = config.get("Section1/key2").asBoolean().orElse(false);
- INI and YAML config files.
- SVL variables resolved in values.
- Live file watching and change listeners.
- Typed values: numbers, booleans, arrays and POJOs.
Modules: juneau-config