~hannes/scfg4j

Java library for a simple configuration file format
Throw exception on illegal control characters
Only package on CI
Version 1.0.0

clone

read-only
https://git.sr.ht/~hannes/scfg4j
read/write
git@git.sr.ht:~hannes/scfg4j

You can also use your local clone with git send-email.

#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

Do not follow this link