Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codeaholicguy/config4j
A smart configuration library for Java
https://github.com/codeaholicguy/config4j
Last synced: about 1 month 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 (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-23T12:49:39.000Z (almost 9 years ago)
- Last Synced: 2024-03-16T09:21:13.914Z (8 months 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);
```