• Post Reply Bookmark Topic Watch Topic
  • New Topic

INI file library?  RSS feed

 
Rebecca Witmer
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does there exist a library for reading and writing to ini files? It seems like a simple file i/o problem to me but my boss asked me to check if there were pre-existing libraries that handle all the problems I probably haven't thought of yet. :-) I looked on Google but I didn't find much. Thanks for any suggestions.
Rebecca
 
Joe Ess
Bartender
Posts: 9429
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java is designed to be cross-platform so it doesn't direclty support windows-specific *.ini files. There is java.util.Properties, which provides a convenient interface for persisting information in a name-value format.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!