<commit_before>JadConfig
=========

This is an annotation-driven configuration parsing framework for Java.

Here is a quick example:

    public class ConfigurationBean {
      @Parameter("my.stringList")
      public List<String> myList = Lists.newArrayList();

      @Parameter("my.integer")
      public int myInteger = 1;

      @Parameter("my.uri", required = true)
      public URI myURI;
    }

and how you use it:

    ConfigurationBean bean = new ConfigurationBean();
    new JadConfig(new PropertiesRepository("my.properties"), bean).process();

    Assert.assertNotNull(bean.myList);<commit_msg>Updated README file<commit_after>JadConfig
=========

JadConfig is an annotation-driven configuration parsing framework for Java.

http://joschi.github.com/JadConfig/


Example
-------

Here is a quick example:

    public class ConfigurationBean {
      @Parameter("my.stringList")
      public List<String> myList = Lists.newArrayList();

      @Parameter("my.integer")
      public int myInteger = 1;

      @Parameter(value = "my.uri", required = true)
      public URI myURI;
    }

and how you use it:

    ConfigurationBean bean = new ConfigurationBean();
    new JadConfig(new PropertiesRepository("my.properties"), bean).process();

    Assert.assertNotNull(bean.myList);


To use JadConfig in your project using Maven add the following lines into the dependencies section of your pom.xml:

    <dependency>
        <groupId>com.github.joschi</groupId>
        <artifactId>jadconfig</artifactId>
        <version>0.2</version>
    </dependency>


License
-------
JadConfig is being released under the Apache License, Version 2.0. You can download the complete license text at
http://www.apache.org/licenses/LICENSE-2.0.html
{'fraction_non_alphanumeric': 0.11392405063291139, 'fraction_numerical': 0.004602991944764097, 'mean_word_length': 3.481958762886598, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7341688', 'n_tokens_mistral': 497, 'n_tokens_neox': 465, 'n_words': 144}