//create config
Config config = new Config(/* Path of file */);
//set value
config.set(/* key */, /* value */);
//set value if not exists in config
config.add(/* key */, /* value */);
//save config
config.save();
//reload file content
config.reload();
spark61 / config Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0