CORE
HOME > JAVA > J2SE > CORE
2016.11.03 / 10:09

java의 properties 를 대치하는 PropertiesConfigurationcommons configuration

기리아빠
추천 수 167
uration("usergui.properties");
config.setProperty("colors.background", "#000000);
config.save();

You can also save a copy of the configuration to another file:

PropertiesConfiguration config = new PropertiesConfiguration("usergui.properties");
config.setProperty("colors.background", "#000000);
config.save("usergui.backup.properties);

 

 

Ref