File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A superior alternative to properties files (.ini)

 
Jane Jukowsky
Ranch Hand
Posts: 157
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic