wood burning stoves*
The moose likes Java in General and the fly likes A superior alternative to properties files (.ini) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "A superior alternative to properties files (.ini)" Watch "A superior alternative to properties files (.ini)" New topic
Author

A superior alternative to properties files (.ini)

Jane Jukowsky
Ranch Hand

Joined: Mar 28, 2009
Posts: 145
Err, what's with me and properties today?

I am looking for a format that looks just like .ini, but allows some advanced functionality (any combination of the following)

1. enter multiple lines with same keys (I wrote it once, many years ago, don't want to rewrite)
2. the ${variable} syntax (what's it called btw?)
3. Anything else?

I would have used xml, but, with non-technical maintainance people, I don't want to scare them. Unless.. and it's a completely different direction.. someone can recommend a perfectly looking, very non-techie xml editor? so intuitive that people won't know it's XML?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41137
    
  45
The http://ini4j.sourceforge.net/ library handles #1 and #2 for Properties, so I'd assume that it also implements those for INI files (which is, after all, its main purpose in life). And if it doesn't, then it's probably not hard to add that.


Ping & DNS - my free Android networking tools app
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: A superior alternative to properties files (.ini)
 
Similar Threads
Vector problem
How to use XML for desktop application?
Any idea about load property file in group?
Properties Files - Maintaining their Order
Project distribution jar file issue.