update « PropertyFile « Java I/O Q&A





1. how to update a property file?    coderanch.com

Hi. I am using the classLoader method to load a property file. Using this, I am able to retrieve the values of properties but now I want to update the values of some properties and i am not able to do it. Please help. Here, is the code: InputStream inputStream = this.getClass().getClassLoader() .getResourceAsStream("PublishDate.properties"); try { Properties properties = new Properties(); try ...