How to read and write contents of a properties file with \
Hi,
I have a properties file located at server side. I want to read the contents of that file and do some modifications in it and place the properties file back to server.
my properties file look like below
FirstQuery=Select * from table1 \
where table1.name1='abc' \
and table1.age='xyz' \
and table1.place='qwe' \
I am able to read the contents of the file, after modification and when i save the file back ' \ ' is missing from the file. In my application i need \ at the end of each line now my file looks like this
FirstQuery=Select * from table1
where table1.name1='abc'
and table1.age='xyz'
and table1.place='changed'
It is a long query and i have copied only a small portion of it, Please help and let me know if reuires more info
Thanks