This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The equals character in the value side of Properties file

 
Pho Tek
Ranch Hand
Posts: 782
Chrome Python Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to represent in a properties file, a name-value pair that looks like this:

Whereby the key is f and the value on the RHS is com.foo:style=x. Is this doable ? Thanks

Pho
 
Kaydell Leavitt
Ranch Hand
Posts: 689
Eclipse IDE Firefox Browser Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know but if you're having problems...

I read somewhere that objects of the class Preferences work better than objects of type Properties.

I did try out the ProperyResourceBundle and I believe that the ListResourceBundle has fewer problems because it gives you greater control (but of course it takes more coding).

Kaydell
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic