https://github.com/codeaholicguy/config4j
A smart configuration library for Java
https://github.com/codeaholicguy/config4j
Last synced: 8 months ago
JSON representation
A smart configuration library for Java
- Host: GitHub
- URL: https://github.com/codeaholicguy/config4j
- Owner: codeaholicguy
- License: apache-2.0
- Created: 2015-12-23T10:05:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-23T12:49:39.000Z (over 10 years ago)
- Last Synced: 2025-03-21T22:15:18.580Z (about 1 year ago)
- Language: Java
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# config4j
A smart configuration library for Java
### Using
Default config file `config.ini`, content of config file like:
```code
[section_name]
config_parameter=config_value
[another_section_name]
config_parameter=config_value
```
Get configuration parameter:
```code
Config config = Config.getInstance(configFolderPath, configFilename);
String parameter = config.getParameter(section, parameter);
```