我的Java程序中有一个属性文件,它存储了多个值。在设置窗口中,用户可以编辑这些值并在下次运行程序时保存修改。 下面是加载属性形成属性文件中的代码: public class AppProperties {
private final static AppProperties appProperties = new AppProperties();
private static
任何人都可以指导我如何执行apache commons configuration2属性的重新加载。我无法在任何地方找到这个实现。 apache文档太抽象了。这是我迄今为止的,但它不起作用。 CombinedConfiguration cc = new CombinedConfiguration();
Parameters params = new Parameters();
我已阅读并尝试以下 How to remove the backslash in string using regex in Java? Java, Removing backslash in string object String replace a Backslash 和许多博客很好,但都是去除from string not for properties文件 I我试图删除属性文件中值\,但没