【文件属性】:
文件名称:Configr:小型库,可轻松与配置文件接口
文件大小:53KB
文件格式:ZIP
更新时间:2021-05-03 07:54:19
Java
配置器
小型库,使与配置文件的连接变得容易。 可以读取配置文件,写入新的配置文件以及导入非标准的系统/程序配置文件。
用
从目标/文件夹下载Configr-1.0-SNAPSHOT.jar。
将库添加到classpath / library文件夹。
例子
读取档案
// create read context on file to read
ConfigrReadContext r = new ConfigrReadContext ( " src/test/java/resources/config.cfgr " );
// get the ConfigrFile from the read context
ConfigrFile file = r . getConfigrFile();
// print all settings
file . printAllSettings();
【文件预览】:
Configr-master
----src()
--------main()
--------test()
----.travis.yml(173B)
----pom.xml(1KB)
----README.md(1KB)
----target()
--------classes()
--------Configr-1.0-SNAPSHOT.jar(15KB)
--------maven-archiver()
--------surefire-reports()
--------test-classes()