我想获取配置对象的名称。例子
Config conf = ConfigFactory.load("file").getConfig("myexample");
以及如何
String name = conf.getCurrentName(); // there is no like getCurrentName method
所以name
应该是平等myexample
的。
我想获取配置对象的名称。例子
Config conf = ConfigFactory.load("file").getConfig("myexample");
以及如何
String name = conf.getCurrentName(); // there is no like getCurrentName method
所以name
应该是平等myexample
的。