+ 13
How to set value using properties file ?
I did it set and get but when I set a key other key is deleted. ***Properties File*** name=pedro number=2 I used this method.... prop.setProperty ("name", "test"); It write very well but number key is deleted. I need to set all keys: prop.setProperty ("name", "test"); prop.setProperty ("number", "123"); I wanna set only one key.
3 Antworten
+ 6
Paolo De Nictolis Thank you for feedback. I will try this.
I am using. INI file now but I wanna try properties as well.