PropertiesConfiguration - Using “/” in Property value

前端 未结 5 1351
梦毁少年i
梦毁少年i 2021-01-27 04:38

I am using PropertiesConfiguration for loading and storing property values.

If I use character \'/\' in Property value, it gets saved as\'\\/\'. Could you please help me

5条回答
  •  别那么骄傲
    2021-01-27 05:13

    This is because "/" has to be escaped for it to read back into the system. You could open the file back up and unscape those values but it would cause problems for you the next time you tried to open it.

提交回复
热议问题