PropertiesConfiguration based on java

*, the location of PropertiesConfiguration

包:org.apache.commons.configuration.*

 

*, PropertiesConfiguration reads the information in the configuration file

PropertiesConfiguration config = new PropertiesConfiguration("fileurl");
config .getStringArray("key");
and so on~
Pending! ! !

 

 

*, PropertiesConfiguration writes the information into the configuration file

PropertiesConfiguration config = new PropertiesConfiguration("fileurl");
config .setProperty("key","value");

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326644901&siteId=291194637