aspose file tools*
The moose likes Beginning Java and the fly likes The equals character in the value side of Properties file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "The equals character in the value side of Properties file" Watch "The equals character in the value side of Properties file" New topic
Author

The equals character in the value side of Properties file

Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 761

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

Joined: Nov 18, 2006
Posts: 688

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
 
subject: The equals character in the value side of Properties file
 
Similar Threads
doubt in using static variable......
Recursion help
Default access variables
Alternatives to java.util.Properties?
Be the JVM: what is the output