Type safe conversion to most common data types.
Automatic polling and reloading of configuration file.
Encryption and decryption using both symmetric and asymmetric keys.
Support for nested properties.
Uniform API for reading YAML, JSON, system variables and Java properties files.
Easily extensible to support new types
Complete documentation is on the wiki.
Overview of the key components
Working with Java properties
Working with YAML
Working with JSON
Working with System variables
binary: uncommon-configuration-0.1.jar
javadocs: uncommon-configuration-0.1-javadoc.jar
<dependency>
<groupId>com.github.uncommon-configuration</groupId>
<artifactId>uncommon-configuration</artifactId>
<version>0.1</version>
</dependency>
slf4j-1.6.4 [required]
snakeyaml-1.10 [only if you are using YAML configuration]
json-simple-1.1 [only if you are using JSON configuration]
bouncycastle-140 [only if you are using encryption]
(JCE) Unlimited Strength Jurisdiction Policy Files [only if you are using encryption]
ASL 2 - http://www.apache.org/licenses/LICENSE-2.0
You can also clone the project with Git by running:
$ git clone git://github.com/MuhammadAshraf/uncommon-configuration