d392a2d Throw exception on illegal control characters
~hannes pushed to ~hannes/scfg4j git
Java library for scfg
Add the dependency to your project. For Maven, that is including this dependency in your pom.xml:
<groupId>net.hannesbraun</groupId>
<artifactId>scfg4j</artifactId>
<version>1.0.0</version>
For Gradle (assuming you're using the Kotlin DSL), this is something like:
implementation("net.hannesbraun:scfg4j:1.0.0")
Parse some configuration file like this:
var config = Config.parseFile("/etc/some/config");
You can then access the abstract syntax tree from the returned config object. See the Javadoc for more details on that.
Submit bugs and patches through the mailing list.
GNU Lesser General Public Licence, Version 3.0 only