See: Description
Class | Description |
---|---|
Toml |
TOML读写封装
TODO 参考https://github.com/TheElectronWill/night-config改造 |
TomlReader |
TOML文件读取
来自:https://github.com/TheElectronWill/TOML-javalib 日期格式支持: 2015-03-20 转为: LocalDate
2015-03-20T19:04:35 转为:LocalDateTime
2015-03-20T19:04:35+01:00 转为:ZonedDateTime
此类支持更加宽松的key,除了A-Za-z0-9_- ,还支持' ',' |
TomlWriter |
TOML生成器
日期格式支持:
2015-03-20 转为:
LocalDate
2015-03-20T19:04:35 转为:LocalDateTime
2015-03-20T19:04:35+01:00 转为:ZonedDateTime
此类支持更加宽松的key,除了A-Za-z0-9_- ,其他key使用"包装。 |
规范:https://toml.io/cn/
参考实现:https://github.com/TheElectronWill/TOML-javalib
Copyright © 2025. All rights reserved.