文件名称:night-config:强大的java配置库,用于toml,yaml,hocon,json和内存中配置
文件大小:315KB
文件格式:ZIP
更新时间:2024-02-24 14:55:25
yaml toml json configuration configuration-management
介绍 NightConfig是使用Java 8编写的功能强大但易于使用的Java配置库。 它支持以下格式: 如何使用 提供代码示例 注意:这些示例适用于最后一个稳定版本,可能不适用于master分支。 您也可以阅读 。 一瞥 // Simple builder: FileConfig conf = FileConfig . of( " the/file/config.toml " ); // Advanced builder, default resource, autosave and much more (-> cf the wiki) CommentedFileConfig conf