A
antoine
Hello,
I was not very happy with my INI file handling and finally decided to
migrate to the more common "properties" file as defined in JDK (I'm
using 1.4)
here's the thing: I have a long list of properties, that I grouped like
that:
item1.prop1
item1.prop2
item1.prop3
item1.prop4
item2.prop1
item2.prop2
item2.prop3
item2.prop4
everything works OK, it loads, saves, and my app works. however there
are times when I need to access the properties file and modify it
manually (using a text editor). that's when I realized that all
properties were "reorganized" pretty randomly in my file:
item2.prop3
item1.prop2
item2.prop4
item1.prop4
item1.prop3
item2.prop1
item1.prop1
item2.prop2
it becomes very complicated to find what I'm looking for...
is there a simple way to make things better ?
I was not very happy with my INI file handling and finally decided to
migrate to the more common "properties" file as defined in JDK (I'm
using 1.4)
here's the thing: I have a long list of properties, that I grouped like
that:
item1.prop1
item1.prop2
item1.prop3
item1.prop4
item2.prop1
item2.prop2
item2.prop3
item2.prop4
everything works OK, it loads, saves, and my app works. however there
are times when I need to access the properties file and modify it
manually (using a text editor). that's when I realized that all
properties were "reorganized" pretty randomly in my file:
item2.prop3
item1.prop2
item2.prop4
item1.prop4
item1.prop3
item2.prop1
item1.prop1
item2.prop2
it becomes very complicated to find what I'm looking for...
is there a simple way to make things better ?