S
Sumukh
Hi all,
We have written swing based application to edit property files(plain
text) of our application. We want to keep track of changes made to this
property file.
For e.g. if someone changes some property value from the file, then old
value of the property should be logged somewhere.
I m not sure about how to check which property was changed and then how
to store its old value.
One way is to create backup of the property file and then compare backup
and original while saving the file. But I couldn't find any API to
compare the files using java.
Please suggest what can be done to achieve this ?
Thanks in anticipation
Sumukh
We have written swing based application to edit property files(plain
text) of our application. We want to keep track of changes made to this
property file.
For e.g. if someone changes some property value from the file, then old
value of the property should be logged somewhere.
I m not sure about how to check which property was changed and then how
to store its old value.
One way is to create backup of the property file and then compare backup
and original while saving the file. But I couldn't find any API to
compare the files using java.
Please suggest what can be done to achieve this ?
Thanks in anticipation
Sumukh