I have a cluster.properties
file with contents :
master=1.2
first.node=
second.node=10.20.30.30
I want to replace these properties with some different value. How can I do this this?
My method look like replaceProp(String filePath, String prop, String newValue)