Monthly Archive: July 2017

How can we write Java properties in a defined order 0

How can we write Java properties in a defined order

I’m using java.util.Properties’s store(Writer, String) method to store the properties. In the resulting text file, the properties are stored in a haphazard order. This is what I’m doing: Properties properties = createProperties(); properties.store(new FileWriter(file),...