Version 1.5.0 of Bee Config is now available. This brings full Java support, whilst carrying forward the excellent Scala api.
In previous versions, file i/o, parsing and config manipulation were all written in Scala, which was less easy to use from Java programs.
Now, a new ConfigJ class in Java emulates the Config class in Scala. The Java parser is shared by both. The file i/o and parsing have been back-ported to Java, although this will not be evident in existing Scala programs (unless they happen to use the underlying utility classes explicitly).
A new feature has been added. A configuration item can now have a unit of measurement. So, use
60s when you need sixty seconds. Or
60µs when you need sixty micro-seconds. Use
8 KiB when you need 8192 bytes. Time and memory size are fully supported; other values with arbitrary units are also supported, albeit with no knowledge of common shorthands etc.