~hannes/scfg4j

Java library for a simple configuration file format

d392a2d Throw exception on illegal control characters

~hannes pushed to ~hannes/scfg4j git

11 days ago

055449c Only package on CI

~hannes pushed to ~hannes/scfg4j git

a month ago

#scfg4j

javadoc

Java library for scfg

#Usage

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.

#Contributing

Submit bugs and patches through the mailing list.

#License

GNU Lesser General Public Licence, Version 3.0 only