You may want to implement your own Properties class with similar functionalities. It will not be possible for you to obtain the order since, as you already pointed ...
Allow to store the properties to a properties file in the same order they were added or read in; Make it possible to customize the ordering strategy of the properties ...
If you can alter the property names your could prefix them with a numeral or other sortable prefix and then sort the Properties KeySet.
How can i read the properties file in Java such that when I retrieve the key set, the iterator structure would return the keys in the order they are found in the file (in ...
how do i get the properties in the same order as in the file.
properties is a file extension for files mainly used in Java related technologies to store
Dear Readers, I have got a property file with the following content reptile = crocodile
config.location environment property (comma- separated list of directory locations , or file paths). $ java -jar myproject.jar --spring.config ...
Tutorial for how to work with properties files and property values in Spring.
or as a JNDI variable java:comp/env/spring.application.json .