Pulling values from a Properties file in order?
0 I know the question may be duplicate old_question but it is very old. How to read/parse Properties file in order? It is necessary for my application to get the properties in the same order they written in the file? java properties configuration share | improve this question asked Nov 12 '18 at 9:56 Sara Selim Sara Selim 23 5 Can you say why? – user7294900 Nov 12 '18 at 9:59 if there is a new simple solution – Sara Selim Nov 12 '18 at 10:10 There isn't. java.util.Properties is based on a Hashtable which doesn't guarantee sort order. That won't likely will never change. Look at answer 2 of this question if you want a "fresh" answer. – Jason Armstrong Nov 12 '18 at 14:15 add a comment | 0 I know the question may be duplicate old_question but it is very old. How to read/parse Properties file in order? It is necessary for my application