Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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);
```